index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-12-08 15:13:36 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-07 21:15:46 -0600 |
commit | f966f3a8344cd96bd675c79a5c470c66920b890c (patch) | |
tree | c97116b7cc0ca1dca8bed3f050ab18dc28a05585 /lib/libalpm/diskspace.c | |
parent | 4bc6ed56aa48784c8caf56c3a6fb1a3c972d221c (diff) |
-rw-r--r-- | lib/libalpm/diskspace.c | 6 |
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 624cd274..5c9f74e5 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -243,11 +243,11 @@ cleanup: int _alpm_check_diskspace(pmtrans_t *trans, pmdb_t *db_local) { alpm_list_t *mount_points, *i; - int replaces = 0, abort = 0; + size_t replaces = 0, current = 0; + int abort = 0; alpm_list_t *targ; pmpkg_t *pkg; - int numtargs = alpm_list_count(trans->add); - int current = 0; + size_t numtargs = alpm_list_count(trans->add); mount_points = mount_point_list(); if(mount_points == NULL) { |