diff options
author | Chris Robinson <[email protected]> | 2018-12-28 16:13:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-28 16:13:28 -0800 |
commit | 67b874328d60062558eeb5068a3f79dab2b6f7e3 (patch) | |
tree | 39a560044c569a5b53c910241ef1917333a107cd /Alc/backends/dsound.cpp | |
parent | 01ed98c99bc66f4df589d73c3ec9e97c9387d4f7 (diff) |
Use static_cast instead of reinterpret_cast where possible
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}; |