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/pthread/aio_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/pthread/aio_misc.h') 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 -- cgit v1.2.3