diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-12 12:51:06 +0000 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-12 12:51:06 +0000 |
commit | 06f1c0afc656b940a61efa50eac035bcc3eb4eaa (patch) | |
tree | abe3c406fff8ba9d0641fd496608dec398f2dd44 /apps | |
parent | 6e2a8a004d4e2bc643fa19170550134d0429eb5c (diff) | |
download | rockbox-06f1c0afc656b940a61efa50eac035bcc3eb4eaa.tar.gz rockbox-06f1c0afc656b940a61efa50eac035bcc3eb4eaa.zip |
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5933 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screens.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/screens.c b/apps/screens.c index 8010ebf022..10f9dd234d 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -318,12 +318,12 @@ void charging_display_info(bool animate) | |||
318 | 4 if USB was connected */ | 318 | 4 if USB was connected */ |
319 | int charging_screen(void) | 319 | int charging_screen(void) |
320 | { | 320 | { |
321 | int button; | 321 | unsigned int button; |
322 | int rc = 0; | 322 | int rc = 0; |
323 | #ifdef BUTTON_OFF | 323 | #ifdef BUTTON_OFF |
324 | const int offbutton = BUTTON_OFF; | 324 | const unsigned int offbutton = BUTTON_OFF; |
325 | #else | 325 | #else |
326 | const int offbutton = BUTTON_STOP; | 326 | const unsigned int offbutton = BUTTON_STOP; |
327 | #endif | 327 | #endif |
328 | 328 | ||
329 | ide_power_enable(false); /* power down the disk, else would be spinning */ | 329 | ide_power_enable(false); /* power down the disk, else would be spinning */ |
@@ -1311,8 +1311,8 @@ bool browse_id3(void) | |||
1311 | case 6: | 1311 | case 6: |
1312 | lcd_puts(0, 0, str(LANG_ID3_LENGHT)); | 1312 | lcd_puts(0, 0, str(LANG_ID3_LENGHT)); |
1313 | snprintf(scroll_text,sizeof(scroll_text), "%d:%02d", | 1313 | snprintf(scroll_text,sizeof(scroll_text), "%d:%02d", |
1314 | id3->length / 60000, | 1314 | (int) (id3->length / 60000), |
1315 | id3->length % 60000 / 1000 ); | 1315 | (int) (id3->length % 60000 / 1000) ); |
1316 | lcd_puts(0, 1, scroll_text); | 1316 | lcd_puts(0, 1, scroll_text); |
1317 | break; | 1317 | break; |
1318 | 1318 | ||