OBS Studio - Free and open source software for live streaming and screen recording
win-capture: deal with a 32bit handle cast errors
The HWND type is a void pointer, but HWND values are global and always 32bit despite, so casting to 32bit can cause cast warnings on actual good compilers like gcc via mingw. This change correctly handles the casting to 32bits without producing unwanted warnings or errors on mingw.
M
martell committed
1e056fd7ecd1ab5474dad05c5b641a6e86efe0f2
Parent: c5fa22a
Committed by jp9000 <obs.jim@gmail.com>
on 2/9/2015, 11:41:54 AM