diff options
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 | ||||
-rw-r--r-- | apps/gui/usb_screen.c | 1 | ||||
-rw-r--r-- | apps/recorder/recording.c | 2 | ||||
-rw-r--r-- | bootloader/iriver_h1x0.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/tcc780x/debug-tcc780x.c | 3 |
5 files changed, 6 insertions, 4 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 6e5a2eae85..20206f0114 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -1079,7 +1079,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1079 | #endif /* HAVE_SPDIF_IN */ | 1079 | #endif /* HAVE_SPDIF_IN */ |
1080 | if (intval) | 1080 | if (intval) |
1081 | *intval = freq+1; /* so the token gets a value 1<=x<=7 */ | 1081 | *intval = freq+1; /* so the token gets a value 1<=x<=7 */ |
1082 | snprintf(buf, buf_size, "%d\n", | 1082 | snprintf(buf, buf_size, "%s\n", |
1083 | freq_strings[global_settings.rec_frequency]); | 1083 | freq_strings[global_settings.rec_frequency]); |
1084 | #endif | 1084 | #endif |
1085 | return buf; | 1085 | return buf; |
diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 9895defc2b..2873562edc 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include <stdbool.h> | ||
22 | #include "action.h" | 23 | #include "action.h" |
23 | #include "font.h" | 24 | #include "font.h" |
24 | #ifdef HAVE_REMOTE_LCD | 25 | #ifdef HAVE_REMOTE_LCD |
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 0f1ff30cf5..d5ac91000c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -976,7 +976,7 @@ static const char* reclist_get_name(int selected_item, void * data, | |||
976 | #if CONFIG_CODEC == SWCODEC | 976 | #if CONFIG_CODEC == SWCODEC |
977 | #ifdef HAVE_SPDIF_REC | 977 | #ifdef HAVE_SPDIF_REC |
978 | case ITEM_SAMPLERATE_D: | 978 | case ITEM_SAMPLERATE_D: |
979 | snprintf(buffer, buffer_len, "%s: %d", | 979 | snprintf(buffer, buffer_len, "%s: %lu", |
980 | str(LANG_RECORDING_FREQUENCY), | 980 | str(LANG_RECORDING_FREQUENCY), |
981 | pcm_rec_sample_rate()); | 981 | pcm_rec_sample_rate()); |
982 | break; | 982 | break; |
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c index 83e545540b..f16a5128c9 100644 --- a/bootloader/iriver_h1x0.c +++ b/bootloader/iriver_h1x0.c | |||
@@ -287,7 +287,7 @@ void failsafe_menu(void) | |||
287 | printf("%s %s %s", arrow, options[i], def); | 287 | printf("%s %s %s", arrow, options[i], def); |
288 | } | 288 | } |
289 | 289 | ||
290 | snprintf(buf, sizeof(buf), "Time left: %ds", | 290 | snprintf(buf, sizeof(buf), "Time left: %lds", |
291 | (TIMEOUT - (current_tick - start_tick)) / HZ); | 291 | (TIMEOUT - (current_tick - start_tick)) / HZ); |
292 | lcd_puts(0, 10, buf); | 292 | lcd_puts(0, 10, buf); |
293 | lcd_update(); | 293 | lcd_update(); |
diff --git a/firmware/target/arm/tcc780x/debug-tcc780x.c b/firmware/target/arm/tcc780x/debug-tcc780x.c index 11d6d2acab..3afc5fafab 100644 --- a/firmware/target/arm/tcc780x/debug-tcc780x.c +++ b/firmware/target/arm/tcc780x/debug-tcc780x.c | |||
@@ -19,11 +19,12 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include <stdbool.h> | ||
23 | #include <stdio.h> | ||
22 | #include "config.h" | 24 | #include "config.h" |
23 | #include "cpu.h" | 25 | #include "cpu.h" |
24 | #include "system.h" | 26 | #include "system.h" |
25 | #include "string.h" | 27 | #include "string.h" |
26 | #include <stdbool.h> | ||
27 | #include "button.h" | 28 | #include "button.h" |
28 | #include "lcd.h" | 29 | #include "lcd.h" |
29 | #include "font.h" | 30 | #include "font.h" |