ref: f75d06a955bd0a32f8abec56596e392e4d0ab535
parent: bc1985a1d82f2fddab93b14603c4268ace5eda31
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Tue Oct 23 12:55:35 EDT 2012
Fix some printf format warnings in the examples.
--- a/examples/seeking_example.c
+++ b/examples/seeking_example.c
@@ -173,7 +173,7 @@
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);