diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/strstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/strstr.c b/sysdeps/generic/strstr.c index ff295e0..e7e14e4 100644 --- a/sysdeps/generic/strstr.c +++ b/sysdeps/generic/strstr.c @@ -49,7 +49,7 @@ strstr (phaystack, pneedle) haystack = (const unsigned char *) phaystack; - if (b = *(needle = (const unsigned char *) pneedle)) + if ((b = *(needle = (const unsigned char *) pneedle))) { chartype c; haystack--; /* possible ANSI violation */ |