From 066ad63e35b2ddf163a0bba247775e8d7c73476c Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 7 Nov 2003 11:32:23 +0000 Subject: [PATCH] Fixed compiler warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@2618 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/grc/grc.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/grc/grc.c b/src/grc/grc.c index 37833bfb2..a8d434702 100644 --- a/src/grc/grc.c +++ b/src/grc/grc.c @@ -38,7 +38,8 @@ FILE *outCVT, *input; unsigned char *buffer; unsigned char vlirtabt[127]; unsigned char vlirtabs[127]; -int i,j,lastarg; +int i,j,lastarg; +unsigned l; int bytes; int blocks,rest; @@ -66,7 +67,7 @@ int blocks,rest; bytes = fread(buffer,1,1024,input); fclose(input); if (bytes!=508) - AbEnd("%s is not a cvt header\n",argv[i]); + AbEnd("%s is not a cvt header\n",argv[i]); fwrite(buffer,1,bytes,outCVT); @@ -75,9 +76,9 @@ int blocks,rest; /* clear out things */ memset(buffer,0,512); fwrite(buffer,1,254,outCVT); - for (j=0;j