mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-05-27 14:05:11 +02:00
Update 'src/string/strcmp.c'
This commit is contained in:
parent
ee42660ea5
commit
aeeae3810d
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ int strcmp(const char *s1, const char *s2)
|
|||
s1 += 1;
|
||||
s2 += 1;
|
||||
}
|
||||
return (*s1 - *s2);
|
||||
return ((unsigned char) *s1 - (unsigned char) *s2);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue