Changed long to int, so it will be 32-bits for both MSVC and GCC 64-bits.
Authored by: dwarren 2013-09-24
Parent: [r7805]
Child: [r7807]