summaryrefslogtreecommitdiffhomepage
path: root/src/init.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-13 10:21:24 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:37 +0900
commit968053a35b7cf6a85949efc8eb5f7cb3dab23f67 (patch)
tree71e992a0fba9f5bda37409289325dd42ec1a4ecf /src/init.c
parent66114f8332c734c6fb241803ca301f2ce0da1838 (diff)
downloadmruby-968053a35b7cf6a85949efc8eb5f7cb3dab23f67.tar.gz
mruby-968053a35b7cf6a85949efc8eb5f7cb3dab23f67.zip
Avoid out-of-range error for negative time on `MRB_TIME_T_UINT`.
On platforms where `time_t` is unsigned, negative time can be a result of integer casting. Out-of-range error is too strict for those cases. This fix does not address wrong time value in `MRB_WORD_BOXING`. It will be addressed later (by introducing "big" integers).
Diffstat (limited to 'src/init.c')
0 files changed, 0 insertions, 0 deletions