alignBytes Use alignBytes = (unsigned short) ((size_t) address Do not use void *address; unsigned short alignBytes; alignBytes = (unsigned short) ((UINT32) address Parent topic: Coding considerations on Windows fg19490_
Use
alignBytes = (unsigned short) ((size_t) address
void *address; unsigned short alignBytes; alignBytes = (unsigned short) ((UINT32) address