From 4e3c6b430382b152e783454a31f9a884223ce77f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 22 Jul 2013 14:03:25 -0400 Subject: [PATCH] make pthread_key_t unsigned to match ABI --- include/alltypes.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1