From 8676dc25f53ec5ae183f514433103b407fdf322b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 21 Apr 2007 19:07:15 +0000 Subject: Missed a couple. Hopefully fix all warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/firmware_flash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins/firmware_flash.c') 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) 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"); -- cgit v1.2.3