From: cuz Date: Sat, 15 Sep 2001 12:00:43 +0000 (+0000) Subject: Fixed a few compiler warnings X-Git-Tag: V2.12.0~2648 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b5c5e2e361fd6612122a58f3f29dd9a335d3bad;p=cc65 Fixed a few compiler warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@935 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ar65/library.c b/src/ar65/library.c index d92b8b255..94ae219c3 100644 --- a/src/ar65/library.c +++ b/src/ar65/library.c @@ -70,7 +70,8 @@ static const char* LibName = 0; /* The library header */ static LibHeader Header = { LIB_MAGIC, - LIB_VERSION + LIB_VERSION, + 0, 0 }; diff --git a/src/ar65/main.c b/src/ar65/main.c index f098c8cb3..7a2a9ca62 100644 --- a/src/ar65/main.c +++ b/src/ar65/main.c @@ -77,7 +77,7 @@ static void Usage (void) int main (int argc, char* argv []) /* Assembler main program */ { - int I; + unsigned I; /* Initialize the cmdline module */ InitCmdLine (&argc, &argv, "ar65"); diff --git a/src/ar65/make/gcc.mak b/src/ar65/make/gcc.mak index 2ea88dd24..4a5b018ad 100644 --- a/src/ar65/make/gcc.mak +++ b/src/ar65/make/gcc.mak @@ -5,7 +5,7 @@ # Library dir COMMON = ../common -CFLAGS = -g -O2 -Wall -I$(COMMON) +CFLAGS = -g -O2 -Wall -W -I$(COMMON) CC = gcc EBIND = emxbind LDFLAGS =