diff options
author | Chun-Min Chang <[email protected]> | 2022-03-22 17:40:29 -0700 |
---|---|---|
committer | Chun-Min Chang <[email protected]> | 2022-03-23 09:21:42 -0700 |
commit | 8a3d20b61a0e8a8d0daac27c28d62687ae7e8458 (patch) | |
tree | 7ae01486cdb605980c700d2ac4f0ec622beda031 | |
parent | 342ff3cd471cd3a88219f70ef1c210e57ab99554 (diff) | |
download | cubeb-8a3d20b61a0e8a8d0daac27c28d62687ae7e8458.tar.gz cubeb-8a3d20b61a0e8a8d0daac27c28d62687ae7e8458.zip |
highlight type cast
-rw-r--r-- | src/cubeb_wasapi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 27977b0..959848d 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -2330,7 +2330,8 @@ wasapi_find_matching_output_device(cubeb_stream * stm) return; } com_heap_ptr<wchar_t> device_id(tmp); - cubeb_devid input_device_id = intern_device_id(stm->context, device_id.get()); + cubeb_devid input_device_id = reinterpret_cast<cubeb_devid>( + intern_device_id(stm->context, device_id.get())); if (!input_device_id) { return; } |