summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-07 07:25:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-07 07:25:45 +0000
commit51b75d5d3def842cdcf02576eb963a494e26b1b1 (patch)
tree21e65fdd9fc39029c4a335ab3837db8c06ffe127
parent5db6b51759fa1b2e9595a177414874fc928d5180 (diff)
downloadrockbox-51b75d5d3def842cdcf02576eb963a494e26b1b1.tar.gz
rockbox-51b75d5d3def842cdcf02576eb963a494e26b1b1.zip
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15511 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/screens.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 8b23fe3201..ecd989043b 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -7,7 +7,7 @@
7 * \/ \/ \/ \/ \/ 7 * \/ \/ \/ \/ \/
8 * $Id$ 8 * $Id$
9 * 9 *
10 * Copyright (C) 2002 Björn Stenberg 10 * Copyright (C) 2002 Bj�rn Stenberg
11 * 11 *
12 * All files in this archive are subject to the GNU General Public License. 12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement. 13 * See the file COPYING in the source tree root for full license agreement.
@@ -1286,12 +1286,14 @@ static char* runtime_get_data(int selected_item, void* data, char* buffer)
1286 1286
1287static int runtime_speak_data(int selected_item, void* data) 1287static int runtime_speak_data(int selected_item, void* data)
1288{ 1288{
1289 (void) data; 1289 (void) data;(void)selected_item;
1290#if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC
1290 long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME}; 1291 long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME};
1291 talk_ids(false, 1292 talk_ids(false,
1292 title_ids[selected_item/2], 1293 title_ids[selected_item/2],
1293 TALK_ID((selected_item == 0) ? global_status.runtime 1294 TALK_ID((selected_item == 0) ? global_status.runtime
1294 : global_status.topruntime, UNIT_TIME)); 1295 : global_status.topruntime, UNIT_TIME));
1296#endif
1295 return 0; 1297 return 0;
1296} 1298}
1297 1299