summary refs log tree commit diff
path: root/locale/programs/charset.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/charset.h')
-rw-r--r--locale/programs/charset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/charset.h b/locale/programs/charset.h
index 1e8819c662..2885bf1d1a 100644
--- a/locale/programs/charset.h
+++ b/locale/programs/charset.h
@@ -53,7 +53,7 @@ struct charset_t
 /* We need one value to mark the error case.  Let's use 0xffffffff.
    I.e., it is placed in the last page of ISO 10646.  For now only the
    first is used and we have plenty of room.  */
-#define ILLEGAL_CHAR_VALUE 0xffffffffu
+#define ILLEGAL_CHAR_VALUE ((wchar_t) 0xffffffffu)
 
 
 /* Prototypes for charmap handling functions.  */