Navigation Menu

Skip to content

Commit

Permalink
Warning removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 2, 2000
1 parent ef6e74a commit f4b3612
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion BASIClib/BasicFileSystem.c
Expand Up @@ -403,7 +403,7 @@ void __parseDir(__byte *dirToParse, DIR **dirInfo,
retValPath = strrchr(dirToParse, __PATHCHAR);
if (retValPath == NULL)
{
retValPath = __CURRENTDIRSTR;
retValPath = (char *) __CURRENTDIRSTR; // cast removes const attr.
retValFileName = dirToParse;
} /* if */
else
Expand All @@ -424,6 +424,7 @@ void __parseDir(__byte *dirToParse, DIR **dirInfo,
} /* __parseDir */


#warning write these!
void __registerFileHandle(__byte *filename, __integer handle)
{
} /* __registerFileHandle */
Expand Down
2 changes: 1 addition & 1 deletion BASIClib/BasicString.c
Expand Up @@ -42,7 +42,7 @@ PBasicString __allocString(__long length, __boolean isFixed)
} /* __allocString */


PBasicString __createString(__byte *asciz, __boolean fixedLength)
PBasicString __createString(const __byte *asciz, __boolean fixedLength)
/*
* Create a BASIC string from a ASCII zero-terminated "C" string.
*
Expand Down
2 changes: 1 addition & 1 deletion BASIClib/BasicString.h
Expand Up @@ -28,7 +28,7 @@ typedef struct
typedef BasicString *PBasicString;

PBasicString __allocString(__long length, __boolean isFixed);
PBasicString __createString(__byte *asciz, __boolean fixedLength);
PBasicString __createString(const __byte *asciz, __boolean fixedLength);
PBasicString __constString(__byte *asciz);
PBasicString __assignString(PBasicString to, PBasicString from);
PBasicString __catString(PBasicString str1, PBasicString str2);
Expand Down

0 comments on commit f4b3612

Please sign in to comment.