summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 09:54:30 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 09:54:30 +0100
commit0b5e739674f26ddc97e92cad9bb8239f9617c3f2 (patch)
tree314bcbfe74c67a34b72147410a6c8b9e56d45bbc
parent49b999907835b734a6d81c87310212ba3d9ada7a (diff)
downloadufodecode-0b5e739674f26ddc97e92cad9bb8239f9617c3f2.tar.gz
ufodecode-0b5e739674f26ddc97e92cad9bb8239f9617c3f2.tar.bz2
ufodecode-0b5e739674f26ddc97e92cad9bb8239f9617c3f2.tar.xz
ufodecode-0b5e739674f26ddc97e92cad9bb8239f9617c3f2.zip
Fix printf type
-rw-r--r--src/ufodecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c
index 3143454..e96dff3 100644
--- a/src/ufodecode.c
+++ b/src/ufodecode.c
@@ -148,7 +148,7 @@ static int ufo_decode_frame_channels(ufo_decoder decoder, uint16_t *pixel_buffer
CHECK_FLAG("raw header magick", header == 2, header);
CHECK_FLAG("row number, only %i rows requested", row < num_rows, row, num_rows);
CHECK_FLAG("pixel size, only 10 bits are supported", bpp == 10, bpp);
- CHECK_FLAG("channel, limited by %i output channels", channel < cpl, channel, cpl);
+ CHECK_FLAG("channel, limited by %zu output channels", channel < cpl, channel, cpl);
CHECK_FLAG("channel (line %i), duplicate entry", (!cmask)||(cmask[row]&(1<<channel_order[channel])) == 0, channel_order[channel], row);
#endif