about summary refs log tree commit diff
path: root/sysdeps/pthread/aio_misc.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-06-24 17:43:32 -0700
committerRoland McGrath <roland@hack.frob.com>2015-06-24 17:43:32 -0700
commit86edd44f04891c0bd0fd347cba4bfc2a13d94377 (patch)
tree257717a820105a3e3543328afbf12ea5f1f529e0 /sysdeps/pthread/aio_misc.h
parenta7fcc2f8edb26e4d54b6a740aaa3f3bb0caebd14 (diff)
downloadglibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.tar.gz
glibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.tar.xz
glibc-86edd44f04891c0bd0fd347cba4bfc2a13d94377.zip
Use unsigned types for counters in AIO code.
Diffstat (limited to 'sysdeps/pthread/aio_misc.h')
-rw-r--r--sysdeps/pthread/aio_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/aio_misc.h b/sysdeps/pthread/aio_misc.h
index ffb0983ea8..5d3fb61efa 100644
--- a/sysdeps/pthread/aio_misc.h
+++ b/sysdeps/pthread/aio_misc.h
@@ -51,7 +51,7 @@ struct waitlist
 #endif
     int *result;
 
-    volatile int *counterp;
+    volatile unsigned int *counterp;
     /* The next field is used in asynchronous `lio_listio' operations.  */
     struct sigevent *sigevp;
 #ifdef BROKEN_THREAD_SIGNALS