diff options
Diffstat (limited to 'src/test_libFLAC')
-rw-r--r-- | src/test_libFLAC/crc.c | 10 | ||||
-rw-r--r-- | src/test_libFLAC/metadata_manip.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/test_libFLAC/crc.c b/src/test_libFLAC/crc.c index 800f3fa4..55f78a7e 100644 --- a/src/test_libFLAC/crc.c +++ b/src/test_libFLAC/crc.c @@ -124,7 +124,7 @@ static FLAC__bool test_crc8(const FLAC__byte *data, size_t size) crc1 = FLAC__crc8(data, i + 1); if (crc1 != crc0) { - printf("FAILED, FLAC__crc8 result did not match reference CRC for %i bytes of test data\n", i + 1); + printf("FAILED, FLAC__crc8 result did not match reference CRC for %u bytes of test data\n", i + 1); return false; } } @@ -154,7 +154,7 @@ static FLAC__bool test_crc16(const FLAC__byte *data, size_t size) crc1 = FLAC__crc16(data, i + 1); if (crc1 != crc0) { - printf("FAILED, FLAC__crc16 result did not match reference CRC for %i bytes of test data\n", i + 1); + printf("FAILED, FLAC__crc16 result did not match reference CRC for %u bytes of test data\n", i + 1); return false; } } @@ -179,7 +179,7 @@ static FLAC__bool test_crc16_update(const FLAC__byte *data, size_t size) crc1 = FLAC__CRC16_UPDATE(data[i], crc1); if (crc1 != crc0) { - printf("FAILED, FLAC__CRC16_UPDATE result did not match reference CRC after %i bytes of test data\n", i + 1); + printf("FAILED, FLAC__CRC16_UPDATE result did not match reference CRC after %u bytes of test data\n", i + 1); return false; } } @@ -211,7 +211,7 @@ static FLAC__bool test_crc16_32bit_words(const FLAC__uint32 *words, size_t size) crc1 = FLAC__crc16_update_words32(words + i, n, crc1); if (crc1 != crc0) { - printf("FAILED, FLAC__crc16_update_words32 result did not match reference CRC after %i words of test data\n", i + n); + printf("FAILED, FLAC__crc16_update_words32 result did not match reference CRC after %u words of test data\n", i + n); return false; } } @@ -255,7 +255,7 @@ static FLAC__bool test_crc16_64bit_words(const FLAC__uint64 *words, size_t size) crc1 = FLAC__crc16_update_words64(words + i, n, crc1); if (crc1 != crc0) { - printf("FAILED, FLAC__crc16_update_words64 result did not match reference CRC after %i words of test data\n", i + n); + printf("FAILED, FLAC__crc16_update_words64 result did not match reference CRC after %u words of test data\n", i + n); return false; } } diff --git a/src/test_libFLAC/metadata_manip.c b/src/test_libFLAC/metadata_manip.c index f72c20ca..4f74f7c7 100644 --- a/src/test_libFLAC/metadata_manip.c +++ b/src/test_libFLAC/metadata_manip.c @@ -472,7 +472,7 @@ static void decoder_metadata_callback_null_(const FLAC__StreamDecoder *decoder, { (void)decoder, (void)metadata, (void)client_data; - printf("%d... ", mc_our_block_number_); + printf("%u... ", mc_our_block_number_); fflush(stdout); mc_our_block_number_++; @@ -489,7 +489,7 @@ static void decoder_metadata_callback_compare_(const FLAC__StreamDecoder *decode if(dcd->error_occurred) return; - printf("%d... ", mc_our_block_number_); + printf("%u... ", mc_our_block_number_); fflush(stdout); if(mc_our_block_number_ >= our_metadata_.num_blocks) { |