summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/alltypes.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/alltypes.h.in b/include/alltypes.h.in
index cdd42ef1..83358996 100644
--- a/include/alltypes.h.in
+++ b/include/alltypes.h.in
@@ -46,7 +46,7 @@ TYPEDEF unsigned long pthread_t;
TYPEDEF struct __pthread * pthread_t;
#endif
TYPEDEF int pthread_once_t;
-TYPEDEF int pthread_key_t;
+TYPEDEF unsigned pthread_key_t;
TYPEDEF int pthread_spinlock_t;
TYPEDEF struct { unsigned __attr; } pthread_mutexattr_t;
TYPEDEF struct { unsigned __attr; } pthread_condattr_t;