X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fwwviaudio%2Fwwviaudio.c;h=d6fabfbd761007ab661f120a0dc6fb16b859f78f;hp=5870411a39f40f1c13197f0b347267944d06a9cb;hb=2d17aeeecc0ae1f16398960bd41a2e7047e57c60;hpb=67144d5f5dc894ae4be4455b12334e3251ce7d3f diff --git a/ccan/wwviaudio/wwviaudio.c b/ccan/wwviaudio/wwviaudio.c index 5870411a..d6fabfbd 100644 --- a/ccan/wwviaudio/wwviaudio.c +++ b/ccan/wwviaudio/wwviaudio.c @@ -29,6 +29,7 @@ #include #include #include +#include #define WWVIAUDIO_DEFINE_GLOBALS #include "wwviaudio.h" @@ -147,8 +148,8 @@ int wwviaudio_read_ogg_clip(int clipnum, char *filename) rc = ogg_to_pcm(filebuf, &clip[clipnum].sample, &samplesize, &sample_rate, &nchannels, &nframes); if (clip[clipnum].sample == NULL) { - printf("Can't get memory for sound data for %llu frames in %s\n", - nframes, filebuf); + printf("Can't get memory for sound data for %"PRIu64 + " frames in %s\n", nframes, filebuf); goto error; }