From: cuz Date: Fri, 7 Nov 2003 11:32:23 +0000 (+0000) Subject: Fixed compiler warnings X-Git-Tag: V2.12.0~1181 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=066ad63e35b2ddf163a0bba247775e8d7c73476c;p=cc65 Fixed compiler warnings git-svn-id: svn://svn.cc65.org/cc65/trunk@2618 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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