summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-12-29 20:06:42 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-12-29 20:06:42 +0000
commitb08409ee40947605382e30f51b2db901210bed1e (patch)
treef86ff6be7fcd4fb7e56eb6d440418b68a82b9705 /apps
parenta222f27c4a17ed8f9809cda7861fe5f23d4cc0c1 (diff)
downloadrockbox-b08409ee40947605382e30f51b2db901210bed1e.tar.gz
rockbox-b08409ee40947605382e30f51b2db901210bed1e.zip
Fix some DEBUGF warnings for sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index 7336507aaa..e99823ed5c 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -354,13 +354,13 @@ int get_start_time(uint32_t duration)
354 aspect_bound = ((rc_bound.r - rc_bound.l) << 16) / 354 aspect_bound = ((rc_bound.r - rc_bound.l) << 16) /
355 (rc_bound.b - rc_bound.t); 355 (rc_bound.b - rc_bound.t);
356 356
357 DEBUGF("aspect_bound: %ld.%02ld\n", aspect_bound >> 16, 357 DEBUGF("aspect_bound: %u.%02u\n", (unsigned)(aspect_bound >> 16),
358 100*(aspect_bound & 0xffff) >> 16); 358 (unsigned)(100*(aspect_bound & 0xffff) >> 16));
359 359
360 aspect_vid = (rc_vid.r << 16) / rc_vid.b; 360 aspect_vid = (rc_vid.r << 16) / rc_vid.b;
361 361
362 DEBUGF("aspect_vid: %ld.%02ld\n", aspect_vid >> 16, 362 DEBUGF("aspect_vid: %u.%02u\n", (unsigned)(aspect_vid >> 16),
363 100*(aspect_vid & 0xffff) >> 16); 363 (unsigned)(100*(aspect_vid & 0xffff) >> 16));
364 364
365 if (aspect_vid >= aspect_bound) 365 if (aspect_vid >= aspect_bound)
366 { 366 {