Fix typecast
This commit is contained in:
1 parent
315632e821
commit
3125035c23
1 file changed
+1
-1
+1
-1
@@ -241,7 +241,7 @@ char *strchr( const char *string, int c ) {
|
|||||||
if(c)
|
if(c)
|
||||||
return NULL;
|
return NULL;
|
||||||
else
|
else
|
||||||
return string;
|
return (char *) string;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *strstr( const char *string, const char *strCharSet ) {
|
char *strstr( const char *string, const char *strCharSet ) {
|
||||||
|
|||||||
Reference in new issue
Block a user