1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

util/zlib/deflater: Fix several compiler warnings.

This commit is contained in:
Björn Esser 2019-06-09 21:07:33 +02:00 committed by Oliver Schmidt
parent 9faca05e6a
commit e0ac9d5d8e

View File

@ -16,8 +16,8 @@
int main(int argc, char* argv[])
{
FILE* fp;
char* inbuf;
char* outbuf;
unsigned char* inbuf;
unsigned char* outbuf;
size_t inlen;
size_t outlen;
z_stream stream;
@ -84,7 +84,7 @@ int main(int argc, char* argv[])
}
/* display summary */
printf("Compressed %s (%d bytes) to %s (%d bytes)\n",
printf("Compressed %s (%zu bytes) to %s (%zu bytes)\n",
argv[1], inlen, argv[2], outlen);
return 0;
}