forked from len0rd/rockbox
Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
26d242ae65
commit
8676dc25f5
22 changed files with 32 additions and 32 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue