fixed build warning in _generateTimestamp

cast time result to (unsigned int)