From: David Given Date: Sat, 30 May 2015 10:26:46 +0000 (+0200) Subject: Fix const correctness (needed by gcc). X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e8bb42d74bb340575632909208cee1a216000f1b;p=FUZIX.git Fix const correctness (needed by gcc). --HG-- extra : source : 6667b8989e26c545f8813b2d4ed6d7e8ec69ebb9 --- diff --git a/Library/libs/strstr.c b/Library/libs/strstr.c index 093fe5bc..f59dbbc8 100644 --- a/Library/libs/strstr.c +++ b/Library/libs/strstr.c @@ -10,7 +10,7 @@ char *strstr(const char *s1, const char *s2) { int l = strlen(s2); - char * p = s1; + char * p = (char *) s1; if( l==0 ) return p;