mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-17 18:58:42 -05:00
Use code() instead of to_abi() on hresult_error structs as the latter has additional side effects. Cast all values to int32_t to ensure the hresult int32_t() operator is called so we pass the actual value and not the full struct (detected by PVS Studio).
1.9 KiB
1.9 KiB