diff options
Diffstat (limited to 'src/backend/utils/mb/wstrcmp.c')
-rw-r--r-- | src/backend/utils/mb/wstrcmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mb/wstrcmp.c b/src/backend/utils/mb/wstrcmp.c index e1ff89d3c04..fe2967876f0 100644 --- a/src/backend/utils/mb/wstrcmp.c +++ b/src/backend/utils/mb/wstrcmp.c @@ -43,6 +43,6 @@ pg_char_and_wchar_strcmp(s1, s2) { while ((pg_wchar)*s1 == *s2++) if (*s1++ == 0) - return (0); - return (*(const unsigned char *)s1 - *(const pg_wchar *)(s2 - 1)); + return 0; + return *(const unsigned char *)s1 - *(const pg_wchar *)(s2 - 1); } |