diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-06-24 17:43:32 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-06-24 17:43:32 -0700 |
commit | 86edd44f04891c0bd0fd347cba4bfc2a13d94377 (patch) | |
tree | 257717a820105a3e3543328afbf12ea5f1f529e0 /sysdeps/nptl/aio_misc.h | |
parent | a7fcc2f8edb26e4d54b6a740aaa3f3bb0caebd14 (diff) | |
download | glibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.tar.gz glibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.tar.xz glibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.zip |
Use unsigned types for counters in AIO code.
Diffstat (limited to 'sysdeps/nptl/aio_misc.h')
-rw-r--r-- | sysdeps/nptl/aio_misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) \ { \ |