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=b45789e254c1feba205067a8d3c34694f82f7017;p=FUZIX.git Fix const correctness (needed by gcc). --- 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;