Fix a signed overflow error on i686 with GCC 4.7.0
commitc27a9467692616900189fce43cd18d14bbda7929
authorDan McGee <dan@archlinux.org>
Mon, 9 Apr 2012 03:32:49 +0000 (8 22:32 -0500)
committerDan McGee <dan@archlinux.org>
Mon, 9 Apr 2012 03:32:49 +0000 (8 22:32 -0500)
tree5f81c1af9345583489149e360c15aa1394e50678
parentd158dde30c378acc8e88d5208aa837f92331af9e
Fix a signed overflow error on i686 with GCC 4.7.0

Not sure why this one wasn't showing up on x86_64, but this fixes the
compile on i686.

    diskspace.c: In function 'calculate_removed_size':
    diskspace.c:247:4: error: assuming signed overflow does not occur when negating a division [-Werror=strict-overflow]
    cc1: all warnings being treated as errors

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/diskspace.c