summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wavview.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-05-07 19:27:42 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-05-07 19:27:42 +0000
commit8d4ff638b9a79abcefe538eef8f1933c0c0decf9 (patch)
treec1071be69e9f794318e6b833e0cb00d0124e77c6 /apps/plugins/wavview.c
parent6027b9160339bcc9efc80d76b095057e2524be8b (diff)
downloadrockbox-8d4ff638b9a79abcefe538eef8f1933c0c0decf9.tar.gz
rockbox-8d4ff638b9a79abcefe538eef8f1933c0c0decf9.tar.bz2
rockbox-8d4ff638b9a79abcefe538eef8f1933c0c0decf9.zip
Fix size_t handling in plugin_get_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wavview.c')
-rw-r--r--apps/plugins/wavview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wavview.c b/apps/plugins/wavview.c
index 0449fbec05..2b19d3d18a 100644
--- a/apps/plugins/wavview.c
+++ b/apps/plugins/wavview.c
@@ -60,7 +60,7 @@ struct peakstruct
/* global vars */
static char *audiobuf;
-static ssize_t audiobuflen;
+static size_t audiobuflen;
static uint32_t mempeakcount = 0;
static uint32_t filepeakcount = 0;
static uint32_t fppmp = 0; /* file peaks per mem peaks */
@@ -362,7 +362,7 @@ enum plugin_status plugin_start(const void *parameter)
if (!parameter)
return PLUGIN_ERROR;
- audiobuf = rb->plugin_get_audio_buffer((size_t *)&audiobuflen);
+ audiobuf = rb->plugin_get_audio_buffer(&audiobuflen);
if (!audiobuf)
{