Avoid comparison between signed and unsigned types

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2011-09-27 09:18:42 +10:00 committed by Dan McGee
parent 80b0f27125
commit 5e13b2b6af
1 changed files with 2 additions and 1 deletions

View File

@ -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)