diff options
author | Chris Robinson <[email protected]> | 2024-01-03 14:58:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2024-01-03 14:58:07 -0800 |
commit | 18349e1da2c79d0f41c8c4f12ccd065f91618a6f (patch) | |
tree | 43124b48b1542f9049d20a01f0c625a954b96510 /alc/backends/dsound.cpp | |
parent | e90075031dfeec7ff03d5d1c5e319e7472312f46 (diff) |
Avoid using bit_cast for pointer types
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 59a59a9f..e51c7ab5 100644 --- a/alc/backends/dsound.cpp +++ b/alc/backends/dsound.cpp @@ -774,7 +774,7 @@ bool DSoundBackendFactory::init() } #define LOAD_FUNC(f) do { \ - p##f = al::bit_cast<decltype(p##f)>(GetSymbol(ds_handle, #f)); \ + p##f = reinterpret_cast<decltype(p##f)>(GetSymbol(ds_handle, #f)); \ if(!p##f) \ { \ CloseLib(ds_handle); \ |