summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h2
-rw-r--r--include/wctype.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wchar.h b/include/wchar.h
index bbdcae6..b4f19c7 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -96,7 +96,7 @@ typedef _BSD_SIZE_T_ size_t;
#endif
#ifndef _WCTYPE_T
-typedef long wctype_t;
+typedef unsigned long wctype_t;
#define _WCTYPE_T
#endif
diff --git a/include/wctype.h b/include/wctype.h
index 2dd5e79..81bda6f 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -47,7 +47,7 @@ typedef int wctrans_t;
#endif
#ifndef _WCTYPE_T
-typedef long wctype_t;
+typedef unsigned long wctype_t;
#define _WCTYPE_T
#endif
OpenPOWER on IntegriCloud