diff options
Diffstat (limited to 'apps/plugins/wavview.c')
-rw-r--r-- | apps/plugins/wavview.c | 4 |
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 | |||
60 | 60 | ||
61 | /* global vars */ | 61 | /* global vars */ |
62 | static char *audiobuf; | 62 | static char *audiobuf; |
63 | static ssize_t audiobuflen; | 63 | static size_t audiobuflen; |
64 | static uint32_t mempeakcount = 0; | 64 | static uint32_t mempeakcount = 0; |
65 | static uint32_t filepeakcount = 0; | 65 | static uint32_t filepeakcount = 0; |
66 | static uint32_t fppmp = 0; /* file peaks per mem peaks */ | 66 | static uint32_t fppmp = 0; /* file peaks per mem peaks */ |
@@ -362,7 +362,7 @@ enum plugin_status plugin_start(const void *parameter) | |||
362 | if (!parameter) | 362 | if (!parameter) |
363 | return PLUGIN_ERROR; | 363 | return PLUGIN_ERROR; |
364 | 364 | ||
365 | audiobuf = rb->plugin_get_audio_buffer((size_t *)&audiobuflen); | 365 | audiobuf = rb->plugin_get_audio_buffer(&audiobuflen); |
366 | 366 | ||
367 | if (!audiobuf) | 367 | if (!audiobuf) |
368 | { | 368 | { |