diff options
author | Jani Taskinen <jani@php.net> | 2009-07-17 11:13:51 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2009-07-17 11:13:51 +0000 |
commit | 785f1bd1703a72ec3e327423fe4ccd9a96f80f87 (patch) | |
tree | f335cb1064b3bdb1973ba25fcd90fe40990922ab /ext/standard/strnatcmp.c | |
parent | 4e0b75042aefb312a2a7e6d4187e0279c83825fa (diff) | |
download | php-git-785f1bd1703a72ec3e327423fe4ccd9a96f80f87.tar.gz |
- Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly)
Diffstat (limited to 'ext/standard/strnatcmp.c')
-rw-r--r-- | ext/standard/strnatcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/strnatcmp.c b/ext/standard/strnatcmp.c index 2459e46e66..366c12449f 100644 --- a/ext/standard/strnatcmp.c +++ b/ext/standard/strnatcmp.c @@ -101,7 +101,7 @@ compare_left(char const **a, char const *aend, char const **b, char const *bend) */ PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len, int fold_case) { - char ca, cb; + unsigned char ca, cb; char const *ap, *bp; char const *aend = a + a_len, *bend = b + b_len; |