SoftingIndustrial / OPC-Classic-SDK

Softing OPC Classic SDK
https://industrial.softing.com/de/produkte/opc-ua-und-opc-classic-sdks.html
MIT License
53 stars 22 forks source link

Compilation warnings C4311 and C4302 from type casting between 'void *' and DWORD. #18

Open robertbjarum opened 1 year ago

robertbjarum commented 1 year ago

We are getting 'type cast' warnings on casting between 'void *' and 'DWORD' when compiling for x64.. Is this a known issue that can be ignored?

robertbjarum commented 1 year ago

Found that sizeof(DWORD) is 4 while sizeof(void *) is 8. DWORD is "typedef unsigned long".