summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-08 15:57:04 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-28 11:22:22 +0200
commitfbe425c8d29e473a8f69ae2dc52b1a10b77f3b44 (patch)
tree9a4b4a5ee5a42474b3a0a15d4c8b82bd0f0f71c1 /libavcodec
parent1263b2039eb5aaf1522e9de9f07c787ab30a5f50 (diff)
hap: Adjust printf length modifiers to match variable types
libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=] libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat=]
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hapenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hapenc.c b/libavcodec/hapenc.c
index 9ebad4a630..bf2ccaa359 100644
--- a/libavcodec/hapenc.c
+++ b/libavcodec/hapenc.c
@@ -118,7 +118,7 @@ static int hap_compress_frame(AVCodecContext *avctx, uint8_t *dst)
/* If there is no gain from snappy, just use the raw texture. */
if (chunk->compressed_size >= chunk->uncompressed_size) {
av_log(avctx, AV_LOG_VERBOSE,
- "Snappy buffer bigger than uncompressed (%lu >= %lu bytes).\n",
+ "Snappy buffer bigger than uncompressed (%zu >= %zu bytes).\n",
chunk->compressed_size, chunk->uncompressed_size);
memcpy(chunk_dst, chunk_src, chunk->uncompressed_size);
chunk->compressor = HAP_COMP_NONE;