From f75d06a955bd0a32f8abec56596e392e4d0ab535 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" <tterribe@xiph.org> Date: Tue, 23 Oct 2012 16:55:35 -0700 Subject: [PATCH] Fix some printf format warnings in the examples. --- examples/seeking_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/seeking_example.c b/examples/seeking_example.c index 450911a..4aabb5b 100644 --- a/examples/seeking_example.c +++ b/examples/seeking_example.c @@ -173,7 +173,7 @@ static void verify_seek(OggOpusFile *_of,opus_int64 _byte_offset, duration=op_pcm_total(_of,li); if(pcm_offset+nsamples>duration){ fprintf(stderr,"\nPCM data after seek exceeded link duration: " - "limit %li, got %li.\n",duration,pcm_offset+nsamples); + "limit %li, got %li.\n",(long)duration,(long)(pcm_offset+nsamples)); nfailures++; } nchannels=op_channel_count(_of,li); -- GitLab