diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/battery_bench.c | 2 | ||||
-rw-r--r-- | apps/plugins/doom/d_deh.c | 16 | ||||
-rw-r--r-- | apps/plugins/iriver_flash.c | 4 | ||||
-rw-r--r-- | apps/plugins/jpeg.c | 2 | ||||
-rw-r--r-- | apps/plugins/midi/synth.c | 2 | ||||
-rw-r--r-- | apps/plugins/mp3_encoder.c | 4 | ||||
-rw-r--r-- | apps/plugins/rockbox_flash.c | 2 | ||||
-rw-r--r-- | apps/plugins/rockboy/menu.c | 8 | ||||
-rw-r--r-- | apps/plugins/rockpaint.c | 2 | ||||
-rw-r--r-- | apps/plugins/search.c | 2 | ||||
-rw-r--r-- | apps/plugins/test_disk.c | 10 | ||||
-rw-r--r-- | apps/plugins/text_editor.c | 2 | ||||
-rw-r--r-- | apps/plugins/video.c | 4 | ||||
-rw-r--r-- | apps/plugins/wav2wv.c | 2 |
14 files changed, 31 insertions, 31 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index a4da7f4bb5..53dd5be4c0 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c | |||
@@ -459,7 +459,7 @@ int main(void) | |||
459 | #endif | 459 | #endif |
460 | "\n" | 460 | "\n" |
461 | ,BATTERY_LOG,rb->global_settings->battery_capacity, | 461 | ,BATTERY_LOG,rb->global_settings->battery_capacity, |
462 | BUF_SIZE / sizeof(struct batt_info)); | 462 | BUF_SIZE / (unsigned)sizeof(struct batt_info)); |
463 | rb->close(fd); | 463 | rb->close(fd); |
464 | } | 464 | } |
465 | else | 465 | else |
diff --git a/apps/plugins/doom/d_deh.c b/apps/plugins/doom/d_deh.c index a5aee07848..c1e136f467 100644 --- a/apps/plugins/doom/d_deh.c +++ b/apps/plugins/doom/d_deh.c | |||
@@ -1918,25 +1918,25 @@ void deh_procFrame(DEHFILE *fpin, int fpout, char *line) | |||
1918 | } | 1918 | } |
1919 | if (!strcasecmp(key,deh_state[0])) // Sprite number | 1919 | if (!strcasecmp(key,deh_state[0])) // Sprite number |
1920 | { | 1920 | { |
1921 | if (fpout) fdprintf(fpout," - sprite = %d\n",value); | 1921 | if (fpout) fdprintf(fpout," - sprite = %ld\n",(long)value); |
1922 | states[indexnum].sprite = (spritenum_t)value; | 1922 | states[indexnum].sprite = (spritenum_t)value; |
1923 | } | 1923 | } |
1924 | else | 1924 | else |
1925 | if (!strcasecmp(key,deh_state[1])) // Sprite subnumber | 1925 | if (!strcasecmp(key,deh_state[1])) // Sprite subnumber |
1926 | { | 1926 | { |
1927 | if (fpout) fdprintf(fpout," - frame = %d\n",value); | 1927 | if (fpout) fdprintf(fpout," - frame = %ld\n",(long)value); |
1928 | states[indexnum].frame = (long)value; // long | 1928 | states[indexnum].frame = (long)value; // long |
1929 | } | 1929 | } |
1930 | else | 1930 | else |
1931 | if (!strcasecmp(key,deh_state[2])) // Duration | 1931 | if (!strcasecmp(key,deh_state[2])) // Duration |
1932 | { | 1932 | { |
1933 | if (fpout) fdprintf(fpout," - tics = %d\n",value); | 1933 | if (fpout) fdprintf(fpout," - tics = %ld\n",(long)value); |
1934 | states[indexnum].tics = (long)value; // long | 1934 | states[indexnum].tics = (long)value; // long |
1935 | } | 1935 | } |
1936 | else | 1936 | else |
1937 | if (!strcasecmp(key,deh_state[3])) // Next frame | 1937 | if (!strcasecmp(key,deh_state[3])) // Next frame |
1938 | { | 1938 | { |
1939 | if (fpout) fdprintf(fpout," - nextstate = %d\n",value); | 1939 | if (fpout) fdprintf(fpout," - nextstate = %ld\n",(long)value); |
1940 | states[indexnum].nextstate = (statenum_t)value; | 1940 | states[indexnum].nextstate = (statenum_t)value; |
1941 | } | 1941 | } |
1942 | else | 1942 | else |
@@ -1948,13 +1948,13 @@ void deh_procFrame(DEHFILE *fpin, int fpout, char *line) | |||
1948 | else | 1948 | else |
1949 | if (!strcasecmp(key,deh_state[5])) // Unknown 1 | 1949 | if (!strcasecmp(key,deh_state[5])) // Unknown 1 |
1950 | { | 1950 | { |
1951 | if (fpout) fdprintf(fpout," - misc1 = %d\n",value); | 1951 | if (fpout) fdprintf(fpout," - misc1 = %ld\n",(long)value); |
1952 | states[indexnum].misc1 = (long)value; // long | 1952 | states[indexnum].misc1 = (long)value; // long |
1953 | } | 1953 | } |
1954 | else | 1954 | else |
1955 | if (!strcasecmp(key,deh_state[6])) // Unknown 2 | 1955 | if (!strcasecmp(key,deh_state[6])) // Unknown 2 |
1956 | { | 1956 | { |
1957 | if (fpout) fdprintf(fpout," - misc2 = %d\n",value); | 1957 | if (fpout) fdprintf(fpout," - misc2 = %ld\n",(long)value); |
1958 | states[indexnum].misc2 = (long)value; // long | 1958 | states[indexnum].misc2 = (long)value; // long |
1959 | } | 1959 | } |
1960 | else | 1960 | else |
@@ -2017,8 +2017,8 @@ void deh_procPointer(DEHFILE *fpin, int fpout, char *line) // done | |||
2017 | if (!strcasecmp(key,deh_state[4])) // Codep frame (not set in Frame deh block) | 2017 | if (!strcasecmp(key,deh_state[4])) // Codep frame (not set in Frame deh block) |
2018 | { | 2018 | { |
2019 | states[indexnum].action = deh_codeptr[value]; | 2019 | states[indexnum].action = deh_codeptr[value]; |
2020 | if (fpout) fdprintf(fpout," - applied from codeptr[%d] to states[%d]\n", | 2020 | if (fpout) fdprintf(fpout," - applied from codeptr[%ld] to states[%d]\n", |
2021 | value,indexnum); | 2021 | (long)value,indexnum); |
2022 | // Write BEX-oriented line to match: | 2022 | // Write BEX-oriented line to match: |
2023 | for (i=0;i<NUMSTATES;i++) | 2023 | for (i=0;i<NUMSTATES;i++) |
2024 | { | 2024 | { |
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 3d2ae7dcd5..4a6002f3df 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c | |||
@@ -418,10 +418,10 @@ int flash_rockbox(const char *filename, int section) | |||
418 | if (section == SECT_ROMIMAGE) | 418 | if (section == SECT_ROMIMAGE) |
419 | { | 419 | { |
420 | uint32_t *p32 = (uint32_t *)audiobuf; | 420 | uint32_t *p32 = (uint32_t *)audiobuf; |
421 | 421 | ||
422 | if (pos+sizeof(struct flash_header) != *p32) | 422 | if (pos+sizeof(struct flash_header) != *p32) |
423 | { | 423 | { |
424 | rb->snprintf(buf, sizeof(buf), "Incorrect relocation: 0x%08x/0x%08x", | 424 | rb->snprintf(buf, sizeof(buf), "Incorrect relocation: 0x%08lx/0x%08lx", |
425 | *p32, pos+sizeof(struct flash_header)); | 425 | *p32, pos+sizeof(struct flash_header)); |
426 | rb->splash(HZ*10, buf); | 426 | rb->splash(HZ*10, buf); |
427 | return -1; | 427 | return -1; |
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 900e6df72a..dbe7270d18 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2565,7 +2565,7 @@ struct t_disp* get_image(struct jpeg* p_jpg, int ds) | |||
2565 | 2565 | ||
2566 | if(!running_slideshow) | 2566 | if(!running_slideshow) |
2567 | { | 2567 | { |
2568 | rb->snprintf(print, sizeof(print), " %d.%02d sec ", time/HZ, time%HZ); | 2568 | rb->snprintf(print, sizeof(print), " %ld.%02ld sec ", time/HZ, time%HZ); |
2569 | rb->lcd_getstringsize(print, &w, &h); /* centered in progress bar */ | 2569 | rb->lcd_getstringsize(print, &w, &h); /* centered in progress bar */ |
2570 | rb->lcd_putsxy((LCD_WIDTH - w)/2, LCD_HEIGHT - h, print); | 2570 | rb->lcd_putsxy((LCD_WIDTH - w)/2, LCD_HEIGHT - h, print); |
2571 | rb->lcd_update(); | 2571 | rb->lcd_update(); |
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index 78aaab18f4..a3a3d608e7 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c | |||
@@ -124,7 +124,7 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig) | |||
124 | 124 | ||
125 | /* Scan our config file and load the right patches as needed */ | 125 | /* Scan our config file and load the right patches as needed */ |
126 | int c = 0; | 126 | int c = 0; |
127 | rb->snprintf(name, 40, ""); | 127 | name[0] = '\0'; |
128 | printf("\nLoading instruments"); | 128 | printf("\nLoading instruments"); |
129 | for(a=0; a<128; a++) | 129 | for(a=0; a<128; a++) |
130 | { | 130 | { |
diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index 8f4b9bdda6..5f852c43f4 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c | |||
@@ -2466,10 +2466,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
2466 | } | 2466 | } |
2467 | 2467 | ||
2468 | rb->lcd_clear_display(); | 2468 | rb->lcd_clear_display(); |
2469 | rb->snprintf(stg, 30, " Conversion: %d.%02ds ", tim/100, tim%100); | 2469 | rb->snprintf(stg, 30, " Conversion: %ld.%02lds ", tim/100, tim%100); |
2470 | rb->lcd_putsxy(0, 30, stg); | 2470 | rb->lcd_putsxy(0, 30, stg); |
2471 | tim = frames * SAMP_PER_FRAME * 100 / 44100; /* unit=.01s */ | 2471 | tim = frames * SAMP_PER_FRAME * 100 / 44100; /* unit=.01s */ |
2472 | rb->snprintf(stg, 30, " WAV-Length: %d.%02ds ", tim/100, tim%100); | 2472 | rb->snprintf(stg, 30, " WAV-Length: %ld.%02lds ", tim/100, tim%100); |
2473 | rb->lcd_putsxy(0, 20, stg); | 2473 | rb->lcd_putsxy(0, 20, stg); |
2474 | rb->lcd_update(); | 2474 | rb->lcd_update(); |
2475 | rb->sleep(5*HZ); | 2475 | rb->sleep(5*HZ); |
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index fbdfdbd7ee..deccb47bb9 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -693,7 +693,7 @@ void DoUserDialog(char* filename) | |||
693 | crc = CheckBootloader(); | 693 | crc = CheckBootloader(); |
694 | if (crc) /* outdated version found */ | 694 | if (crc) /* outdated version found */ |
695 | { | 695 | { |
696 | rb->snprintf(buf, sizeof(buf), "(check=0x%08x)", crc); | 696 | rb->snprintf(buf, sizeof(buf), "(check=0x%08lx)", crc); |
697 | rb->lcd_puts(0, 0, buf); | 697 | rb->lcd_puts(0, 0, buf); |
698 | rb->lcd_puts(0, 1, "Hint: You're not "); | 698 | rb->lcd_puts(0, 1, "Hint: You're not "); |
699 | rb->lcd_puts(0, 2, "using the latest "); | 699 | rb->lcd_puts(0, 2, "using the latest "); |
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index abacd2c831..a3d64d60d0 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c | |||
@@ -167,7 +167,7 @@ static void build_slot_path(char *buf, size_t bufsiz, size_t slot_id) { | |||
167 | munge_name(name_buf, strlen(name_buf)); | 167 | munge_name(name_buf, strlen(name_buf)); |
168 | 168 | ||
169 | /* glom the whole mess together */ | 169 | /* glom the whole mess together */ |
170 | snprintf(buf, bufsiz, "%s/%s-%d.rbs", STATE_DIR, name_buf, slot_id + 1); | 170 | snprintf(buf, bufsiz, "%s/%s-%ld.rbs", STATE_DIR, name_buf, slot_id + 1); |
171 | } | 171 | } |
172 | 172 | ||
173 | /* | 173 | /* |
@@ -263,17 +263,17 @@ static void slot_info(char *info_buf, size_t info_bufsiz, size_t slot_id) { | |||
263 | if (read(fd, buf, 20) > 0) | 263 | if (read(fd, buf, 20) > 0) |
264 | { | 264 | { |
265 | buf[20] = '\0'; | 265 | buf[20] = '\0'; |
266 | snprintf(info_buf, info_bufsiz, "%d. %s", slot_id + 1, buf); | 266 | snprintf(info_buf, info_bufsiz, "%ld. %s", slot_id + 1, buf); |
267 | } | 267 | } |
268 | else | 268 | else |
269 | snprintf(info_buf, info_bufsiz, "%d. ERROR", slot_id + 1); | 269 | snprintf(info_buf, info_bufsiz, "%ld. ERROR", slot_id + 1); |
270 | 270 | ||
271 | close(fd); | 271 | close(fd); |
272 | } | 272 | } |
273 | else | 273 | else |
274 | { | 274 | { |
275 | /* if we couldn't open the file, then the slot is empty */ | 275 | /* if we couldn't open the file, then the slot is empty */ |
276 | snprintf(info_buf, info_bufsiz, "%d. %s", slot_id + 1, "<Empty>"); | 276 | snprintf(info_buf, info_bufsiz, "%ld. %s", slot_id + 1, "<Empty>"); |
277 | } | 277 | } |
278 | } | 278 | } |
279 | 279 | ||
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c index 34d9847042..68a3e5f595 100644 --- a/apps/plugins/rockpaint.c +++ b/apps/plugins/rockpaint.c | |||
@@ -2958,7 +2958,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
2958 | } | 2958 | } |
2959 | else | 2959 | else |
2960 | { | 2960 | { |
2961 | rb->splash( 1*HZ, "Image loaded (%s)", parameter ); | 2961 | rb->splash( 1*HZ, "Image loaded (%s)", (char *)parameter ); |
2962 | restore_screen(); | 2962 | restore_screen(); |
2963 | rb->strcpy( filename, parameter ); | 2963 | rb->strcpy( filename, parameter ); |
2964 | } | 2964 | } |
diff --git a/apps/plugins/search.c b/apps/plugins/search.c index 6d4cfd2d78..26669f2b83 100644 --- a/apps/plugins/search.c +++ b/apps/plugins/search.c | |||
@@ -168,7 +168,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
168 | if(p) | 168 | if(p) |
169 | *p = 0; | 169 | *p = 0; |
170 | 170 | ||
171 | rb->snprintf(resultfile, MAX_PATH, "%s/search_result.m3u", path, p+1); | 171 | rb->snprintf(resultfile, MAX_PATH, "%s/search_result.m3u", path); |
172 | ok = search_init(parameter); | 172 | ok = search_init(parameter); |
173 | if (!ok) { | 173 | if (!ok) { |
174 | return PLUGIN_ERROR; | 174 | return PLUGIN_ERROR; |
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index 91fc3bb405..e302a621cb 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c | |||
@@ -207,7 +207,7 @@ static bool test_speed(void) | |||
207 | goto error; | 207 | goto error; |
208 | } | 208 | } |
209 | time = *rb->current_tick - time; | 209 | time = *rb->current_tick - time; |
210 | rb->snprintf(text_buf, sizeof text_buf, "Create: %d KByte/s", | 210 | rb->snprintf(text_buf, sizeof text_buf, "Create: %ld KByte/s", |
211 | (25 * buf_len / time) >> 8); | 211 | (25 * buf_len / time) >> 8); |
212 | log_lcd(text_buf, true); | 212 | log_lcd(text_buf, true); |
213 | rb->close(fd); | 213 | rb->close(fd); |
@@ -226,7 +226,7 @@ static bool test_speed(void) | |||
226 | goto error; | 226 | goto error; |
227 | } | 227 | } |
228 | time = *rb->current_tick - time; | 228 | time = *rb->current_tick - time; |
229 | rb->snprintf(text_buf, sizeof text_buf, "Write A: %d KByte/s", | 229 | rb->snprintf(text_buf, sizeof text_buf, "Write A: %ld KByte/s", |
230 | (25 * buf_len / time) >> 8); | 230 | (25 * buf_len / time) >> 8); |
231 | log_lcd(text_buf, true); | 231 | log_lcd(text_buf, true); |
232 | rb->close(fd); | 232 | rb->close(fd); |
@@ -245,7 +245,7 @@ static bool test_speed(void) | |||
245 | goto error; | 245 | goto error; |
246 | } | 246 | } |
247 | time = *rb->current_tick - time; | 247 | time = *rb->current_tick - time; |
248 | rb->snprintf(text_buf, sizeof text_buf, "Write U: %d KByte/s", | 248 | rb->snprintf(text_buf, sizeof text_buf, "Write U: %ld KByte/s", |
249 | (25 * buf_len / time) >> 8); | 249 | (25 * buf_len / time) >> 8); |
250 | log_lcd(text_buf, true); | 250 | log_lcd(text_buf, true); |
251 | rb->close(fd); | 251 | rb->close(fd); |
@@ -264,7 +264,7 @@ static bool test_speed(void) | |||
264 | goto error; | 264 | goto error; |
265 | } | 265 | } |
266 | time = *rb->current_tick - time; | 266 | time = *rb->current_tick - time; |
267 | rb->snprintf(text_buf, sizeof text_buf, "Read A: %d KByte/s", | 267 | rb->snprintf(text_buf, sizeof text_buf, "Read A: %ld KByte/s", |
268 | (25 * buf_len / time) >> 8); | 268 | (25 * buf_len / time) >> 8); |
269 | log_lcd(text_buf, true); | 269 | log_lcd(text_buf, true); |
270 | rb->close(fd); | 270 | rb->close(fd); |
@@ -283,7 +283,7 @@ static bool test_speed(void) | |||
283 | goto error; | 283 | goto error; |
284 | } | 284 | } |
285 | time = *rb->current_tick - time; | 285 | time = *rb->current_tick - time; |
286 | rb->snprintf(text_buf, sizeof text_buf, "Read U: %d KByte/s", | 286 | rb->snprintf(text_buf, sizeof text_buf, "Read U: %ld KByte/s", |
287 | (25 * buf_len / time) >> 8); | 287 | (25 * buf_len / time) >> 8); |
288 | log_lcd(text_buf, true); | 288 | log_lcd(text_buf, true); |
289 | rb->close(fd); | 289 | rb->close(fd); |
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 8040d00f22..9917d03242 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c | |||
@@ -123,7 +123,7 @@ char *list_get_name_cb(int selected_item,void* data,char* buf) | |||
123 | { | 123 | { |
124 | char t = b[MAX_PATH-10]; | 124 | char t = b[MAX_PATH-10]; |
125 | b[MAX_PATH-10] = '\0'; | 125 | b[MAX_PATH-10] = '\0'; |
126 | rb->snprintf(buf,MAX_PATH,"%s ...\0",b); | 126 | rb->snprintf(buf,MAX_PATH,"%s ...",b); |
127 | b[MAX_PATH-10] = t; | 127 | b[MAX_PATH-10] = t; |
128 | } | 128 | } |
129 | else rb->strcpy(buf,b); | 129 | else rb->strcpy(buf,b); |
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index c2f64bbfa6..3700c233fe 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c | |||
@@ -962,9 +962,9 @@ int main(char* filename) | |||
962 | rb->lcd_puts(0, 2, gPrint); | 962 | rb->lcd_puts(0, 2, gPrint); |
963 | rb->snprintf(gPrint, sizeof(gPrint), "%d MinVideo bytes", gStats.minVideoAvail); | 963 | rb->snprintf(gPrint, sizeof(gPrint), "%d MinVideo bytes", gStats.minVideoAvail); |
964 | rb->lcd_puts(0, 3, gPrint); | 964 | rb->lcd_puts(0, 3, gPrint); |
965 | rb->snprintf(gPrint, sizeof(gPrint), "MinSpinup %d.%02d", gStats.minSpinup/HZ, gStats.minSpinup%HZ); | 965 | rb->snprintf(gPrint, sizeof(gPrint), "MinSpinup %ld.%02ld", gStats.minSpinup/HZ, gStats.minSpinup%HZ); |
966 | rb->lcd_puts(0, 4, gPrint); | 966 | rb->lcd_puts(0, 4, gPrint); |
967 | rb->snprintf(gPrint, sizeof(gPrint), "MaxSpinup %d.%02d", gStats.maxSpinup/HZ, gStats.maxSpinup%HZ); | 967 | rb->snprintf(gPrint, sizeof(gPrint), "MaxSpinup %ld.%02ld", gStats.maxSpinup/HZ, gStats.maxSpinup%HZ); |
968 | rb->lcd_puts(0, 5, gPrint); | 968 | rb->lcd_puts(0, 5, gPrint); |
969 | rb->snprintf(gPrint, sizeof(gPrint), "LowWater: %d", gBuf.low_water); | 969 | rb->snprintf(gPrint, sizeof(gPrint), "LowWater: %d", gBuf.low_water); |
970 | rb->lcd_puts(0, 6, gPrint); | 970 | rb->lcd_puts(0, 6, gPrint); |
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c index 07b1d225f8..69ccfa52a5 100644 --- a/apps/plugins/wav2wv.c +++ b/apps/plugins/wav2wv.c | |||
@@ -80,7 +80,7 @@ static void wvupdate (int32_t start_tick, | |||
80 | compression = (int)(((int64_t)(bytes_read - bytes_written) * 100 + | 80 | compression = (int)(((int64_t)(bytes_read - bytes_written) * 100 + |
81 | (bytes_read/2)) / bytes_read); | 81 | (bytes_read/2)) / bytes_read); |
82 | 82 | ||
83 | rb->snprintf(buf, 32, "elapsed time: %d secs", (elapsed_ticks + (HZ/2)) / HZ); | 83 | rb->snprintf(buf, 32, "elapsed time: %ld secs", (elapsed_ticks + (HZ/2)) / HZ); |
84 | rb->lcd_puts(0, 2, (unsigned char *)buf); | 84 | rb->lcd_puts(0, 2, (unsigned char *)buf); |
85 | 85 | ||
86 | rb->snprintf(buf, 32, "progress: %d%%", progress); | 86 | rb->snprintf(buf, 32, "progress: %d%%", progress); |