• Vadim Zeitlin's avatar
    Return int, not long, from parse10() helper · 56bc9f9c
    Vadim Zeitlin authored
    Add a check for integer overflow and return an int value, long is not
    necessary for date/time components and passing it to
    mktime_from_ymdhms() later resulted in implicit conversion from long to
    int and even broke iOS compilation, apparently.
    
    Closes #506.
    56bc9f9c