Skip to content

Commit

Permalink
fixed MSVC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolm committed Feb 23, 2024
1 parent 2a57d17 commit d26e2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TEST adaptive_model(void)
uint32_t compressed_size = ac_stop_encoder(codec);
uint8_t* compressed_buffer = ac_get_buffer(codec);

printf("adaptive_model\n uncompressed size : %lu\n compressed buffer size : %d\n ratio : %f\n", sizeof(data), compressed_size, ((float)sizeof(data)) / (float)compressed_size);
printf("adaptive_model\n uncompressed size : %zu\n compressed buffer size : %d\n ratio : %f\n", sizeof(data), compressed_size, ((float)sizeof(data)) / (float)compressed_size);

ac_set_buffer(codec, compressed_size, compressed_buffer);
ac_start_decoder(codec);
Expand Down

0 comments on commit d26e2a6

Please sign in to comment.