summary refs log tree commit diff
path: root/iconvdata/euckr.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/euckr.c')
-rw-r--r--iconvdata/euckr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/euckr.c b/iconvdata/euckr.c
index 9789e883e9..62dd2c47bf 100644
--- a/iconvdata/euckr.c
+++ b/iconvdata/euckr.c
@@ -19,7 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <gconv.h>
-#include <inttypes.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <wchar.h>
@@ -168,7 +168,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data,
 
 /* 0xfe(->0x7e : row 94) and 0xc9(->0x59 : row 41) are user-defined areas */
 
-                  else if ( inchar <= 0xa0 || inchar >= 0xfe || inchar == 0xc9)
+                  else if ( inchar <= 0xa0 || inchar > 0xfe || inchar == 0xc9)
                       /* This is illegal.  */
                       ch = L'\0';
 		  else