summaryrefslogtreecommitdiff
path: root/tests/check_aec.c
diff options
context:
space:
mode:
authorMathis Rosenhauer <rosenhauer@dkrz.de>2017-07-17 07:12:08 (GMT)
committerMathis Rosenhauer <rosenhauer@dkrz.de>2017-07-17 09:47:13 (GMT)
commit912eba27fbfecb35de79ed3c82d4d3b576352926 (patch)
treef06eb3aaa04580932c535d8113a12f20f4c960d4 /tests/check_aec.c
parent8880310be431f419fded62edefac14e4ffd48739 (diff)
downloadlibaec-912eba27fbfecb35de79ed3c82d4d3b576352926.zip
libaec-912eba27fbfecb35de79ed3c82d4d3b576352926.tar.gz
libaec-912eba27fbfecb35de79ed3c82d4d3b576352926.tar.bz2
Fix warnings
Diffstat (limited to 'tests/check_aec.c')
-rw-r--r--tests/check_aec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_aec.c b/tests/check_aec.c
index b0bb73d..354f357 100644
--- a/tests/check_aec.c
+++ b/tests/check_aec.c
@@ -175,7 +175,7 @@ int encode_decode_small(struct test_state *state)
printf("\n");
printf("%02x ", state->ubuf[i]);
}
- printf("\n\ncompressed buf len %li", compressed_size);
+ printf("\n\ncompressed buf len %zu", compressed_size);
for (int i = 0; i < 80; i++) {
if (i % 8 == 0)
printf("\n");
@@ -197,7 +197,7 @@ int encode_decode_small(struct test_state *state)
int encode_decode_large(struct test_state *state)
{
int status;
- int bflags;
+ int bflags = 0;
size_t to;
char fbase[1024];
struct aec_stream *strm = state->strm;
@@ -290,7 +290,7 @@ int encode_decode_large(struct test_state *state)
printf("\n");
printf("%02x ", state->ubuf[i]);
}
- printf("\n\ncompressed buf len %li", to);
+ printf("\n\ncompressed buf len %zu", to);
for (int i = 0; i < 80; i++) {
if (i % 8 == 0)
printf("\n");