This will cause warnings on 64-bit.
Casting a pointer to a DWORD?
Well, any 64-bit image that reaches that line would be broken, so I don't think there's any more correct thing to do. I'd rather not change the code depending on architecture just to avoid a warning.