Use long instead of int for all values. Use time_t and suseconds_t for time stamps. Change-Id: Ie8e9e9e2b6fb53f47feca2f67ee018cb284fd646