From 5be3aeab7ff64b7c317a265418893542b58f21c3 Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 28 Dec 2011 13:29:09 +0000 Subject: [PATCH] Fixed a compiler warning. git-svn-id: svn://svn.cc65.org/cc65/trunk@5337 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/grc65/grc65.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/grc65/grc65.c b/src/grc65/grc65.c index 85ae16ffd..9268bd133 100644 --- a/src/grc65/grc65.c +++ b/src/grc65/grc65.c @@ -209,7 +209,7 @@ void fillOut(char *name, int len, char *filler) { setLen(name, len); fprintf(outputSFile, "\t.byte \"%s\"\n", name); - + a = strlen(name); if (a < len) { fprintf(outputSFile, "\t.res (%i - %i), %s\n", len, a, filler); @@ -496,8 +496,8 @@ void DoHeader(void) { if (apple == 1) { fprintf(outputSFile, - "\t.byte %i << 4 | %i\n", - myHead.structure + 2, strlen(myHead.dosname)); + "\t.byte %i << 4 | %u\n", + myHead.structure + 2, (unsigned) strlen(myHead.dosname)); fillOut(myHead.dosname, 15, "0"); @@ -623,7 +623,7 @@ void DoVLIR(void) { if (lastrecord == -1) { AbEnd("There must be at least one VLIR record.\n"); } - + /* always include record 0 */ vlirtable[0] = 1; -- 2.39.5