diff options
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 bcbd556afe..9e54a7f94e 100644 --- a/ext/standard/strnatcmp.c +++ b/ext/standard/strnatcmp.c @@ -143,7 +143,7 @@ PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len else if (ap == aend) return -1; else if (bp == bend) - return 1; + return 1; else { /* Keep on comparing from the current point. */ ca = *ap; cb = *bp; |