Warning C4312 (64-Bit portability)
In my code I am casting a DWORD to an int* and I get the following warning:
Code:
warning C4312: 'type cast' : conversion from 'DWORD' to 'int *' of greater size

Originally Posted by
MSDN
This warning detects 64-bit portability issues. You attempted to assign a 32-bit value to a 64-bit type. For example, casting a 32-bit int or 32-bit long to a 64-bit pointer.
I am compiling for Win32. Does my program still work on Windows XP 64 Bit Edition, despite the warning?
Please don't forget to rate users who helped you!