Fixed integer conversion for Windows