summaryrefslogtreecommitdiff
path: root/apps/plugins/firmware_flash.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-04-21 19:07:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-04-21 19:07:15 +0000
commit8676dc25f53ec5ae183f514433103b407fdf322b (patch)
tree208a7628b30c2970ecdca2b14fe6bf3da6489aae /apps/plugins/firmware_flash.c
parent26d242ae654cc1e69c55ecd49fc3a5c13dfb8052 (diff)
downloadrockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.gz
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.zip
Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/firmware_flash.c')
-rw-r--r--apps/plugins/firmware_flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c
index c1cd3b2fe9..b841be91d2 100644
--- a/apps/plugins/firmware_flash.c
+++ b/apps/plugins/firmware_flash.c
@@ -640,7 +640,7 @@ void DoUserDialog(char* filename)
640 char default_filename[32]; 640 char default_filename[32];
641 int button; 641 int button;
642 int rc; /* generic return code */ 642 int rc; /* generic return code */
643 int memleft; 643 ssize_t memleft;
644 tCheckROM result; 644 tCheckROM result;
645 bool is_romless; 645 bool is_romless;
646 646
@@ -687,7 +687,7 @@ void DoUserDialog(char* filename)
687 } 687 }
688 688
689 /* "allocate" memory */ 689 /* "allocate" memory */
690 sector = rb->plugin_get_buffer(&memleft); 690 sector = rb->plugin_get_buffer((size_t *)&memleft);
691 if (memleft < SEC_SIZE) /* need buffer for a flash sector */ 691 if (memleft < SEC_SIZE) /* need buffer for a flash sector */
692 { 692 {
693 rb->splash(HZ*3, "Out of memory"); 693 rb->splash(HZ*3, "Out of memory");
@@ -927,7 +927,7 @@ void DoUserDialog(char* filename)
927 } 927 }
928 928
929 /* "allocate" memory */ 929 /* "allocate" memory */
930 sector = rb->plugin_get_buffer(&memleft); 930 sector = rb->plugin_get_buffer((size_t *)&memleft);
931 if (memleft < SEC_SIZE) /* need buffer for a flash sector */ 931 if (memleft < SEC_SIZE) /* need buffer for a flash sector */
932 { 932 {
933 rb->splash(HZ*3, "Out of memory"); 933 rb->splash(HZ*3, "Out of memory");