diff options
author | Allan McRae <allan@archlinux.org> | 2011-09-27 09:18:42 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-26 23:04:09 -0500 |
commit | 5e13b2b6af7d0cb2cbb22d6090f731e74a64afa5 (patch) | |
tree | 889765a5e9b6440ce6fd93d7b1c42834f74d42bc | |
parent | 80b0f271254f965db4d94d6bb165c64ef3553588 (diff) |
Avoid comparison between signed and unsigned types
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | src/pacman/pacman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 40aa4444..326664dd 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -760,7 +760,8 @@ static void cl_to_log(int argc, char* argv[]) */ int main(int argc, char *argv[]) { - int i, ret = 0; + int ret = 0; + size_t i; struct sigaction new_action, old_action; const int signals[] = { SIGHUP, SIGINT, SIGTERM, SIGSEGV }; #if defined(HAVE_GETEUID) && !defined(CYGWIN) |