aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/ibm932.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/ibm932.c')
-rw-r--r--iconvdata/ibm932.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconvdata/ibm932.c b/iconvdata/ibm932.c
index 05d50ad86f..b81c14d05d 100644
--- a/iconvdata/ibm932.c
+++ b/iconvdata/ibm932.c
@@ -26,7 +26,7 @@
#endif
#define FROM 0
-#define TO 1
+#define TO 1
/* Definitions used in the body of the `gconv' function. */
#define CHARSET_NAME "IBM932//"
@@ -53,7 +53,7 @@
uint32_t ch = *inptr; \
uint32_t res; \
\
- if (__builtin_expect (ch, 0) >= 0xffff) \
+ if (__builtin_expect (ch >= 0xffff, 0)) \
{ \
rp1 = NULL; \
rp2 = NULL; \
@@ -155,7 +155,7 @@
uint32_t high; \
uint16_t pccode; \
\
- if (__builtin_expect (ch, 0) >= 0xffff) \
+ if (__builtin_expect (ch >= 0xffff, 0)) \
{ \
UNICODE_TAG_HANDLER (ch, 4); \
rp = NULL; \