summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midi/midiutil.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-04-21 19:07:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-04-21 19:07:15 +0000
commit8676dc25f53ec5ae183f514433103b407fdf322b (patch)
tree208a7628b30c2970ecdca2b14fe6bf3da6489aae /apps/plugins/midi/midiutil.c
parent26d242ae654cc1e69c55ecd49fc3a5c13dfb8052 (diff)
downloadrockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.gz
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.bz2
rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.zip
Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/midiutil.c')
-rw-r--r--apps/plugins/midi/midiutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index 9d114c9f39..0607c1ab3c 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -155,7 +155,7 @@ void *alloc(int size)
if (offset == NULL)
{
- offset = rb->plugin_get_audio_buffer(&totalSize);
+ offset = rb->plugin_get_audio_buffer((size_t *)&totalSize);
}
if (size + 4 > totalSize)
@@ -192,7 +192,7 @@ void *alloc(int size)
if (offset == NULL)
{
- offset = rb->plugin_get_audio_buffer(&totalSize);
+ offset = rb->plugin_get_audio_buffer((size_t *)&totalSize);
}
if (size + 4 > totalSize)