summaryrefslogtreecommitdiffstats
path: root/src/server/PortAudioDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PortAudioDriver.hpp')
-rw-r--r--src/server/PortAudioDriver.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PortAudioDriver.hpp b/src/server/PortAudioDriver.hpp
index 679223ad..3b7c6a94 100644
--- a/src/server/PortAudioDriver.hpp
+++ b/src/server/PortAudioDriver.hpp
@@ -88,7 +88,7 @@ private:
const PaStreamCallbackTimeInfo* time,
PaStreamCallbackFlags flags,
void* handle) {
- return ((PortAudioDriver*)handle)->process_cb(
+ return static_cast<PortAudioDriver*>(handle)->process_cb(
inputs, outputs, nframes, time, flags);
}