fix wchar limits mistakenly copied from arm
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Nov 2012 19:04:10 +0000 (14:04 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Nov 2012 19:04:10 +0000 (14:04 -0500)
arch/powerpc/bits/wchar.h

index ffb269170d9f27b689670cd950df52d5e0be3402..c969c5b62da8886bea42a047e661a5e33fcd8032 100644 (file)
@@ -1,4 +1,4 @@
 #ifndef WCHAR_MIN
-#define WCHAR_MIN 0U
-#define WCHAR_MAX 0xffffffffU
+#define WCHAR_MIN (-1-0x7fffffff)
+#define WCHAR_MAX (0x7fffffff)
 #endif