diff options
author | cbdev <cb@cbcdn.com> | 2019-12-15 22:40:06 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-12-15 22:40:06 +0100 |
commit | 86ca5c25b1c5f71c99edbd59f179c4e5f88e16e5 (patch) | |
tree | 2eb6d05b17de9c53a889a5ce109f5b992df3adc1 /backends | |
parent | 81c6af48f9b63171d1f407f8203f742cd64c3688 (diff) | |
download | midimonster-86ca5c25b1c5f71c99edbd59f179c4e5f88e16e5.tar.gz midimonster-86ca5c25b1c5f71c99edbd59f179c4e5f88e16e5.tar.bz2 midimonster-86ca5c25b1c5f71c99edbd59f179c4e5f88e16e5.zip |
Fix overloading
Diffstat (limited to 'backends')
-rw-r--r-- | backends/rtpmidi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/rtpmidi.c b/backends/rtpmidi.c index e78b1f2..780e517 100644 --- a/backends/rtpmidi.c +++ b/backends/rtpmidi.c @@ -398,9 +398,9 @@ static int rtpmidi_set(instance* inst, size_t num, channel** c, channel_value* v return 0; } -static int rtpmidi_handle_applemidi(instance* inst, int fd, uint8_t* data, size_t bytes, struct sockaddr_storage* peer, socklen_t peer_len){ +static int rtpmidi_handle_applemidi(instance* inst, int fd, uint8_t* frame, size_t bytes, struct sockaddr_storage* peer, socklen_t peer_len){ rtpmidi_instance_data* data = (rtpmidi_instance_data*) inst->impl; - apple_command* command = (apple_command*) data; + apple_command* command = (apple_command*) frame; size_t u; //find peer if already in list |