dabroz/doom3.gpl — comment on commit 1caea5ea3d0353da39d4bd08820e0e9cecb1f214
File: neo/renderer/Cinematic.cpp line 57
By DanielGibson:

Please note that sizeof(long) on Linux64 is 8 (=> 64bit) and on Win64 it's 4 (=> 32bit), see http://en.wikipedia.org/wiki/64-bit#64-bit_data_models
It's a good idea to use size_t if you want an integer of native size (4bytes on i386, 8bytes on amd64) and int32_t, int64_t and friends (from stdint.h or cstdint) if the integer should have the same size on all platforms.
Maybe older visual studio versions don't support stdint.h, but I can't check as I don't use Windows. Maybe a version from http://code.google.com/p/msinttypes/ should be included for Windows. But I read that VS2010 includes it.

Cheers,
- Daniel