From bef8e97d5dddc84866473bb550542cdaaa6511a7 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 25 Sep 2015 18:42:31 -0700 Subject: [PATCH] webpmux: fix type conversion warning Change-Id: I65de23f376570346a9489c2116a0effa60345157 --- examples/webpmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/webpmux.c b/examples/webpmux.c index 6ce0844d..1bf1a3c5 100644 --- a/examples/webpmux.c +++ b/examples/webpmux.c @@ -790,7 +790,7 @@ static int GetFrameFragment(const WebPMux* mux, const WebPMuxConfig* config, int is_frame) { WebPMuxError err = WEBP_MUX_OK; WebPMux* mux_single = NULL; - long num = 0; + int num = 0; int ok = 1; int parse_error = 0; const WebPChunkId id = is_frame ? WEBP_CHUNK_ANMF : WEBP_CHUNK_FRGM; @@ -806,7 +806,7 @@ static int GetFrameFragment(const WebPMux* mux, err = WebPMuxGetFrame(mux, num, &info); if (err == WEBP_MUX_OK && info.id != id) err = WEBP_MUX_NOT_FOUND; if (err != WEBP_MUX_OK) { - ERROR_GOTO3("ERROR (%s): Could not get frame %ld.\n", + ERROR_GOTO3("ERROR (%s): Could not get frame %d.\n", ErrorString(err), num, ErrGet); }