diff options
author | Max Kellermann <max@duempel.org> | 2014-02-06 21:10:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-06 21:10:12 +0100 |
commit | 0a0659d737e8788fc1ba02e8c113e55204782716 (patch) | |
tree | 8855ba68e8648bbb81ea94899406e4b2988ae489 /src/output/plugins/WinmmOutputPlugin.hxx | |
parent | b6df4680df08db7827af56d5adf2a04264f2dcb9 (diff) | |
download | mpd-0a0659d737e8788fc1ba02e8c113e55204782716.tar.gz mpd-0a0659d737e8788fc1ba02e8c113e55204782716.tar.xz mpd-0a0659d737e8788fc1ba02e8c113e55204782716.zip |
mixer/Plugin: pass AudioOutput reference to init()
Passing a void pointer is unsafe.
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/WinmmOutputPlugin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/WinmmOutputPlugin.hxx b/src/output/plugins/WinmmOutputPlugin.hxx index 450e58b4e..50fae4f2f 100644 --- a/src/output/plugins/WinmmOutputPlugin.hxx +++ b/src/output/plugins/WinmmOutputPlugin.hxx @@ -35,7 +35,7 @@ extern const struct AudioOutputPlugin winmm_output_plugin; gcc_pure HWAVEOUT -winmm_output_get_handle(WinmmOutput *); +winmm_output_get_handle(WinmmOutput &output); #endif |