diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-03-01 21:53:34 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-01 21:53:34 +0000 |
commit | 78520e62441b1460703407285fefa5d90a364f6d (patch) | |
tree | be66b5d2be1cd1e3b1c3ecb2d3b522f16b2bbb81 /apps/debug_menu.c | |
parent | aceef07c87ded3768b653f3501af01bd3490e93c (diff) |
Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6098 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 2035a45810..815eb5af67 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -567,7 +567,6 @@ bool dbg_partitions(void) } #ifdef HAVE_LCD_BITMAP -static bool boost = false; /* Test code!!! */ bool dbg_ports(void) { @@ -694,19 +693,19 @@ bool dbg_ports(void) { case BUTTON_UP: cpu_boost(true); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; case BUTTON_DOWN: cpu_boost(false); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; case BUTTON_SELECT: set_cpu_frequency(CPUFREQ_DEFAULT); - snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); + snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2); splash(HZ, false, buf); break; |