You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HANDLE is a typedef to void *, so it's not immediately clear how to fix this. Possibly cast the left hand side to signed intptr_t, but best to check the programming manual on the return value of USBDRVD_OpenDevice().
The text was updated successfully, but these errors were encountered:
The original expression is always true (because MSVC takes dev_Handle to be unsigned), and I'm 90% sure it's supposed to be if (dev_Handle != 0) (based on disassembly of USBDRVD_OpenDevice()).
When the platform toolset is upgraded to v143 (testing for a future upgrade to VS2022), we get the following error.
This is at
mmCoreAndDevices/DeviceAdapters/MeadowlarkLC/MeadowlarkLC.cpp
Line 219 in a06f334
HANDLE
is a typedef tovoid *
, so it's not immediately clear how to fix this. Possibly cast the left hand side to signedintptr_t
, but best to check the programming manual on the return value ofUSBDRVD_OpenDevice()
.The text was updated successfully, but these errors were encountered: