From 0b5c5e2e361fd6612122a58f3f29dd9a335d3bad Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 15 Sep 2001 12:00:43 +0000 Subject: [PATCH] Fixed a few compiler warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@935 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ar65/library.c | 3 ++- src/ar65/main.c | 2 +- src/ar65/make/gcc.mak | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 = -- 2.39.5