public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef1332
)
Fix const correctness (needed by gcc).
author
David Given
<dg@cowlark.com>
Sat, 30 May 2015 10:26:46 +0000
(12:26 +0200)
committer
David Given
<dg@cowlark.com>
Sat, 30 May 2015 10:26:46 +0000
(12:26 +0200)
--HG--
extra : source :
6667b8989e26c545f8813b2d4ed6d7e8ec69ebb9
Library/libs/strstr.c
patch
|
blob
|
history
diff --git
a/Library/libs/strstr.c
b/Library/libs/strstr.c
index
093fe5b
..
f59dbbc
100644
(file)
--- 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;