From 8a72ac3280ce8f9d0f48383d47dd06c80567bc09 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 20 Jul 2010 17:19:20 -0400 Subject: [PATCH 1/1] Removed warnings from atomicio.c atomicio.c: In function 'atomicio': atomicio.c:48: warning: comparison between signed and unsigned integer expressions Signed-off-by: Steve Dickson --- utils/idmapd/atomicio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/idmapd/atomicio.c b/utils/idmapd/atomicio.c index 05e7147..1fb1ff9 100644 --- a/utils/idmapd/atomicio.c +++ b/utils/idmapd/atomicio.c @@ -43,7 +43,8 @@ atomicio( size_t n) { char *s = _s; - ssize_t res, pos = 0; + ssize_t res; + size_t pos = 0; while (n > pos) { res = (f) (fd, s + pos, n - pos); -- 2.39.2