From b2488eb356281e5da56d12286f07798f8ca8d2cb Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 23 Feb 2014 11:41:40 +1000 Subject: Fix warnings with strict-overflow in gcc-4.9 Signed-off-by: Allan McRae --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index e0a1e426..fc4baaf8 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -370,7 +370,7 @@ static int sync_group(int level, alpm_list_t *syncs, alpm_list_t *targets) int ret = 0; if(targets) { - int found; + size_t found; for(i = targets; i; i = alpm_list_next(i)) { found = 0; const char *grpname = i->data; -- cgit v1.2.3-70-g09d2