make pthread_key_t unsigned to match ABI
authorRich Felker <dalias@aerifal.cx>
Mon, 22 Jul 2013 18:03:25 +0000 (14:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 22 Jul 2013 18:03:25 +0000 (14:03 -0400)
include/alltypes.h.in

index cdd42ef181f34c8b838a367a60c209cf7cae2182..8335899661482ad32676ce6a1a936711c60d2f3e 100644 (file)
@@ -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;