summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/overlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/overlay.c')
-rw-r--r--apps/plugins/lib/overlay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/overlay.c b/apps/plugins/lib/overlay.c
index fb779e4f82..97a6e1c718 100644
--- a/apps/plugins/lib/overlay.c
+++ b/apps/plugins/lib/overlay.c
@@ -49,7 +49,7 @@ enum plugin_status run_overlay(const void* parameter,
unsigned char *filename, unsigned char *name)
{
int fd, readsize;
- ssize_t audiobuf_size;
+ size_t audiobuf_size;
unsigned char *audiobuf;
static struct plugin_header header;
@@ -80,7 +80,7 @@ enum plugin_status run_overlay(const void* parameter,
return PLUGIN_ERROR;
}
- audiobuf = rb->plugin_get_audio_buffer((size_t *)&audiobuf_size);
+ audiobuf = rb->plugin_get_audio_buffer(&audiobuf_size);
if (header.load_addr < audiobuf ||
header.end_addr > audiobuf + audiobuf_size)
{