diff options
Diffstat (limited to 'apps/plugins/midi/midiutil.c')
-rw-r--r-- | apps/plugins/midi/midiutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c index f960b72654..f4950408ab 100644 --- a/apps/plugins/midi/midiutil.c +++ b/apps/plugins/midi/midiutil.c | |||
@@ -114,9 +114,9 @@ unsigned char readChar(int file) | |||
114 | return buf[0]; | 114 | return buf[0]; |
115 | } | 115 | } |
116 | 116 | ||
117 | unsigned char * readData(int file, int len) | 117 | void * readData(int file, int len) |
118 | { | 118 | { |
119 | unsigned char * dat = malloc(len); | 119 | void * dat = malloc(len); |
120 | rb->read(file, dat, len); | 120 | rb->read(file, dat, len); |
121 | return dat; | 121 | return dat; |
122 | } | 122 | } |