• 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
Name
Last commit
Last update
bin Loading commit data...
cmake Loading commit data...
docs Loading commit data...
include Loading commit data...
languages/ada Loading commit data...
src Loading commit data...
tests Loading commit data...
www Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CHANGES Loading commit data...
CMakeLists.txt Loading commit data...
CTestConfig.cmake Loading commit data...
LICENSE_1_0.txt Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
Vagrantfile Loading commit data...
appveyor.yml Loading commit data...
valgrind.suppress Loading commit data...