summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-02-23 11:41:40 +1000
committerAllan McRae <allan@archlinux.org>2014-03-03 11:25:55 +1000
commitb2488eb356281e5da56d12286f07798f8ca8d2cb (patch)
tree3dcb6f9e06ca1cf8bf5bd663f1b5a0c5ef65105d /src
parente5c714f5010e803465dbe57adc31687dffba10b2 (diff)
downloadpacman-b2488eb356281e5da56d12286f07798f8ca8d2cb.tar.xz
Fix warnings with strict-overflow in gcc-4.9
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
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;