diff options
Diffstat (limited to 'Alc/backends/dsound.cpp')
-rw-r--r-- | Alc/backends/dsound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp index 83cc712f..832068ad 100644 --- a/Alc/backends/dsound.cpp +++ b/Alc/backends/dsound.cpp @@ -158,7 +158,7 @@ BOOL CALLBACK DSoundEnumDevices(GUID *guid, const WCHAR *desc, const WCHAR* UNUS if(!guid) return TRUE; - auto& devices = *reinterpret_cast<al::vector<DevMap>*>(data); + auto& devices = *static_cast<al::vector<DevMap>*>(data); const std::string basename{DEVNAME_HEAD + wstr_to_utf8(desc)}; int count{1}; |