diff options
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r-- | apps/plugins/rockbox_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index 86e62eb433..575fb894a5 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -664,7 +664,7 @@ void DoUserDialog(char* filename) | |||
664 | } | 664 | } |
665 | 665 | ||
666 | /* "allocate" memory */ | 666 | /* "allocate" memory */ |
667 | sector = rb->plugin_get_buffer(&memleft); | 667 | sector = rb->plugin_get_buffer((size_t *)&memleft); |
668 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ | 668 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ |
669 | { | 669 | { |
670 | rb->splash(HZ*3, "Out of memory"); | 670 | rb->splash(HZ*3, "Out of memory"); |
@@ -867,7 +867,7 @@ void DoUserDialog(char* filename) | |||
867 | } | 867 | } |
868 | 868 | ||
869 | /* "allocate" memory */ | 869 | /* "allocate" memory */ |
870 | sector = rb->plugin_get_buffer(&memleft); | 870 | sector = rb->plugin_get_buffer((size_t *)&memleft); |
871 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ | 871 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ |
872 | { | 872 | { |
873 | rb->splash(HZ*3, "Out of memory"); | 873 | rb->splash(HZ*3, "Out of memory"); |