summaryrefslogtreecommitdiff
path: root/apps/plugins/iriver_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r--apps/plugins/iriver_flash.c4
1 files changed, 2 insertions, 2 deletions
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;