time: Use int, not long int, for internal GMT offsets
The GMT offset can be outside the range of a 16-bit int type, which is presumably the reason why long int was used in struct tm. We cannot change struct tm, but we can change the internal type for the offset.
Loading
Please register or sign in to comment