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. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index eb44829cd8..9d06bc14e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2015-06-24 Roland McGrath + + * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field + counterp to 'volatile unsigned int *'. + * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND] + (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'. + (aio_suspend): Give local variable CNTR type 'unsigned int'. + * sysdeps/pthread/lio_listio.c (lio_listio_internal): + Give local variable TOTAL type 'volatile unsigned int'. + (struct async_waitlist): Change type of field counter to 'unsigned int'. + 2015-06-24 H.J. Lu [BZ #18383] -- cgit v1.2.3