1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +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[]) int main(int argc, char* argv[])
{ {
FILE* fp; FILE* fp;
char* inbuf; unsigned char* inbuf;
char* outbuf; unsigned char* outbuf;
size_t inlen; size_t inlen;
size_t outlen; size_t outlen;
z_stream stream; z_stream stream;
@ -84,7 +84,7 @@ int main(int argc, char* argv[])
} }
/* display summary */ /* 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); argv[1], inlen, argv[2], outlen);
return 0; return 0;
} }