summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-09-27 09:18:42 +1000
committerDan McGee <dan@archlinux.org>2011-09-26 23:04:09 -0500
commit5e13b2b6af7d0cb2cbb22d6090f731e74a64afa5 (patch)
tree889765a5e9b6440ce6fd93d7b1c42834f74d42bc
parent80b0f271254f965db4d94d6bb165c64ef3553588 (diff)
downloadpacman-5e13b2b6af7d0cb2cbb22d6090f731e74a64afa5.tar.xz
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.c3
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)