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.zip
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.gz
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.bz2
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.xz
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 c1cd3b2..b841be9 100644
--- a/apps/plugins/firmware_flash.c
+++ b/apps/plugins/firmware_flash.c
@@ -640,7 +640,7 @@ void DoUserDialog(char* filename)
char default_filename[32];
int button;
int rc; /* generic return code */
- int memleft;
+ ssize_t memleft;
tCheckROM result;
bool is_romless;
@@ -687,7 +687,7 @@ void DoUserDialog(char* filename)
}
/* "allocate" memory */
- sector = rb->plugin_get_buffer(&memleft);
+ sector = rb->plugin_get_buffer((size_t *)&memleft);
if (memleft < SEC_SIZE) /* need buffer for a flash sector */
{
rb->splash(HZ*3, "Out of memory");
@@ -927,7 +927,7 @@ void DoUserDialog(char* filename)
}
/* "allocate" memory */
- sector = rb->plugin_get_buffer(&memleft);
+ sector = rb->plugin_get_buffer((size_t *)&memleft);
if (memleft < SEC_SIZE) /* need buffer for a flash sector */
{
rb->splash(HZ*3, "Out of memory");