Win64 remove warnings

Remove win64 warnings, see review #480
intX_t seems a little strange, maybe you need intptr_t