Fixed a few warnings

git-svn-id: svn://svn.cc65.org/cc65/trunk@938 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-15 13:36:59 +00:00
parent 7c67a35771
commit 1a65e30fa0
15 changed files with 27 additions and 28 deletions

View File

@@ -112,9 +112,9 @@ char *nextWord() {
return strtok(NULL, " ");
}
void setLen (char *name, int len) {
void setLen (char *name, unsigned len) {
if (strlen(name)>len)
name[len]='\0';
name[len]='\0';
}
void fillOut (char *name, int len, char *filler) {

View File

@@ -2,7 +2,7 @@
# gcc Makefile for grc
#
CFLAGS = -g -O2 -Wall
CFLAGS = -g -O2 -Wall -W
CC = gcc
LDFLAGS =
EBIND = emxbind