aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/midi/seq.cpp4
-rw-r--r--backends/midi/timidity.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp
index c0098742d0..74a92257bc 100644
--- a/backends/midi/seq.cpp
+++ b/backends/midi/seq.cpp
@@ -147,7 +147,7 @@ void MidiDriver_SEQ::send(uint32 b) {
warning("MidiDriver_SEQ::send: unknown : %08x", (int)b);
break;
}
- (void)write(device, buf, position);
+ write(device, buf, position);
}
void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) {
@@ -172,7 +172,7 @@ void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) {
buf[position++] = _device_num;
buf[position++] = 0;
- (void)write(device, buf, position);
+ write(device, buf, position);
}
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp
index d79a83809f..f0dd24bcbd 100644
--- a/backends/midi/timidity.cpp
+++ b/backends/midi/timidity.cpp
@@ -337,7 +337,7 @@ char *MidiDriver_TIMIDITY::timidity_ctl_command(const char *fmt, ...) {
buff[len++] = '\n';
/* write command to control socket */
- (void)write(_control_fd, buff, len);
+ write(_control_fd, buff, len);
}
while (1) {