waninkoko/doom3.gpl — comment on commit 7112f5a1ff4a64ab6ab6ba0cc71576bf798e289a
File: neo/sound/snd_world.cpp line 1716
By DanielGibson:

And for types of fixed size use 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.

It's probably a good idea to replace any long in the original source with int32_t (unless it's abused to save a pointer in it, then size_t should be used ovbiously - or it should be rewritten so the pointer is saved as a void* or something).