From: cuz Date: Sat, 15 Sep 2001 11:39:07 +0000 (+0000) Subject: Fix signed/unsigned comparisons X-Git-Tag: V2.12.0~2651 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02be846175139a38bbca1f0519cee15b55fbf803;p=cc65 Fix signed/unsigned comparisons git-svn-id: svn://svn.cc65.org/cc65/trunk@931 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/cmdline.c b/src/common/cmdline.c index 58be881db..4b7021d54 100644 --- a/src/common/cmdline.c +++ b/src/common/cmdline.c @@ -177,7 +177,7 @@ void InitCmdLine (int* aArgCount, char** aArgVec[], const char* aProgName) */ { CmdLine L; - unsigned I; + int I; /* Get the program name from argv[0] but strip a path */ if (*(aArgVec)[0] == 0) { diff --git a/src/common/make/gcc.mak b/src/common/make/gcc.mak index 402c689e0..b29067c34 100644 --- a/src/common/make/gcc.mak +++ b/src/common/make/gcc.mak @@ -2,7 +2,7 @@ # gcc Makefile for the binutils common stuff # -CFLAGS = -g -O2 -Wall +CFLAGS = -g -O2 -Wall -W CC = gcc LDFLAGS = LIB = common.a