indigo_mount_starbook.c:317:21: warning: implicit declaration of function ‘strcasestr’; did you mean ‘strcasecmp’? [-Wimplicit-function-declaration]
317 | char *beg = strcasestr(temp, "<!--");
| ^~~~~~~~~~
| strcasecmp
indigo_mount_starbook.c:317:21: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
I think strcasecmp() is being called.
The strcasestr() function is a non-standard extension.
So I change from strcasestr() to strstr().
Currently the starbook driver is crashing.
I think
strcasecmp()
is being called.The
strcasestr()
function is a non-standard extension. So I change fromstrcasestr()
tostrstr()
.