summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/audio_thread.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-15 03:34:31 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-15 03:34:31 +0000
commit6ef04a7f0e2540a78e3e197ad842b85d8119c15d (patch)
tree5c55dd71ed09f2369fc939a4a6d98fa2a95b233b /apps/plugins/mpegplayer/audio_thread.c
parentff548fad8689ab767a62d2c7d9b2f2c4efece1e8 (diff)
downloadrockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.zip
rockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.tar.gz
rockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.tar.bz2
rockbox-6ef04a7f0e2540a78e3e197ad842b85d8119c15d.tar.xz
Eliminate %zd tag in printf format strings, replace them with %ld. The %z formatter kept generating type mismatch warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26040 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/audio_thread.c')
-rw-r--r--apps/plugins/mpegplayer/audio_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/audio_thread.c b/apps/plugins/mpegplayer/audio_thread.c
index e802390..d626df6 100644
--- a/apps/plugins/mpegplayer/audio_thread.c
+++ b/apps/plugins/mpegplayer/audio_thread.c
@@ -279,8 +279,8 @@ static int audio_sync(struct audio_thread_data *td,
{
if (audio_buffer(str, STREAM_PM_RANDOM_ACCESS) == STREAM_DATA_END)
{
- DEBUGF("audio_sync:STR_DATA_END\n aqu:%zd swl:%ld swr:%ld\n",
- audio_queue.used, str->hdr.win_left, str->hdr.win_right);
+ DEBUGF("audio_sync:STR_DATA_END\n aqu:%ld swl:%ld swr:%ld\n",
+ (long)audio_queue.used, str->hdr.win_left, str->hdr.win_right);
if (audio_queue.used <= MAD_BUFFER_GUARD)
goto sync_data_end;
}