diff options
author | Allan McRae <allan@archlinux.org> | 2010-12-18 13:47:16 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-21 01:03:34 +0100 |
commit | c78a808c49f1df12254ff9ae5ce32bd450e14df8 (patch) | |
tree | 64bf8a315c2d90919b066fd96ec3ba8ebe8b3930 /PKGBUILD.proto | |
parent | a611879318a4c39488f977308af8ee90f428995b (diff) | |
download | pacman-c78a808c49f1df12254ff9ae5ce32bd450e14df8.tar.gz pacman-c78a808c49f1df12254ff9ae5ce32bd450e14df8.tar.xz |
Only check diskspace availability if needs more than zero
The amount of diskspace needed for a transaction can be less than
zero. Only test this against the available disk space if it is
positive, which avoids a comparison being made between signed and
unsigned types (-Wsign-compare).
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'PKGBUILD.proto')
0 files changed, 0 insertions, 0 deletions