From 86edd44f04891c0bd0fd347cba4bfc2a13d94377 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jun 2015 17:43:32 -0700 Subject: Use unsigned types for counters in AIO code. --- sysdeps/nptl/aio_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/nptl/aio_misc.h') diff --git a/sysdeps/nptl/aio_misc.h b/sysdeps/nptl/aio_misc.h index fb69b0ffd1..d5d1c08d0f 100644 --- a/sysdeps/nptl/aio_misc.h +++ b/sysdeps/nptl/aio_misc.h @@ -34,8 +34,8 @@ #define AIO_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) \ { \ -- cgit v1.2.3