Fixed constant used in timespan check to be a long long.

This fixes a compiler warning on AIX in 32-bit with IBM XL C/C++ compiler.