summary refs log tree commit diff
path: root/sysdeps/nptl/gai_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nptl/gai_misc.h')
-rw-r--r--sysdeps/nptl/gai_misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h
index bb83dcabb4..a34dbc0dd9 100644
--- a/sysdeps/nptl/gai_misc.h
+++ b/sysdeps/nptl/gai_misc.h
@@ -35,8 +35,8 @@
 
 #define GAI_MISC_WAIT(result, futex, timeout, cancel) \
   do {									      \
-    volatile int *futexaddr = &futex;					      \
-    int oldval = futex;							      \
+    volatile unsigned int *futexaddr = &futex;				      \
+    unsigned int oldval = futex;					      \
 									      \
     if (oldval != 0)							      \
       {									      \