Closed smadaminov closed 2 years ago
Using proper casting fixes this proper and works for both 32- and 64- bit systems:
HANDLE h = (HANDLE)(INT_PTR) _get_osfhandle(fd);
local patch name: 0001-issue-61-fix-handle-pointer-casting.patch
submitted patch and it was acked: http://patchwork.ozlabs.org/project/openvswitch/patch/20210826154557.1226-1-sergey.madaminov@gmail.com/
Warning during compilation on Windows. Both 32-bit and 64-bit produce a warning though with different types.