aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChun-Min Chang <[email protected]>2022-03-22 17:40:29 -0700
committerChun-Min Chang <[email protected]>2022-03-23 09:21:42 -0700
commit8a3d20b61a0e8a8d0daac27c28d62687ae7e8458 (patch)
tree7ae01486cdb605980c700d2ac4f0ec622beda031
parent342ff3cd471cd3a88219f70ef1c210e57ab99554 (diff)
downloadcubeb-8a3d20b61a0e8a8d0daac27c28d62687ae7e8458.tar.gz
cubeb-8a3d20b61a0e8a8d0daac27c28d62687ae7e8458.zip
highlight type cast
-rw-r--r--src/cubeb_wasapi.cpp3
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;
}