diff options
Diffstat (limited to 'src/string')
-rw-r--r-- | src/string/strcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strcmp.c b/src/string/strcmp.c index 91eb7404..808bd837 100644 --- a/src/string/strcmp.c +++ b/src/string/strcmp.c @@ -2,6 +2,6 @@ int strcmp(const char *l, const char *r) { - for (; *l==*r && *l && *r; l++, r++); + for (; *l==*r && *l; l++, r++); return *(unsigned char *)l - *(unsigned char *)r; } |