I suspect that removing the `(int)` cast will create a warning on a 64-bit Win32 build...