summaryrefslogtreecommitdiff
path: root/examples/c/decode/file/main.c
diff options
context:
space:
mode:
authorAndrey Astafyev <dev@246060.ru>2019-11-30 08:04:37 +0300
committerErik de Castro Lopo <erikd@mega-nerd.com>2019-12-09 06:13:11 +1100
commita3d8927c2b745d299bd039858dc1173586c6b0b0 (patch)
tree0f3257e63505b62783d52737be11a287a2c56d7e /examples/c/decode/file/main.c
parenta9d9f4d353cf55d97808e6e4edda42bcdfb02fe1 (diff)
downloadflac-a3d8927c2b745d299bd039858dc1173586c6b0b0.tar.gz
Correct printf specifiers to unsigned int where needed
Diffstat (limited to 'examples/c/decode/file/main.c')
-rw-r--r--examples/c/decode/file/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/decode/file/main.c b/examples/c/decode/file/main.c
index ed64732f..8b3710bd 100644
--- a/examples/c/decode/file/main.c
+++ b/examples/c/decode/file/main.c
@@ -126,7 +126,7 @@ FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
}
if(frame->header.channels != 2) {
- fprintf(stderr, "ERROR: This frame contains %d channels (should be 2)\n", frame->header.channels);
+ fprintf(stderr, "ERROR: This frame contains %u channels (should be 2)\n", frame->header.channels);
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
}
if(buffer [0] == NULL) {