diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-07 16:01:47 +0300 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-07 16:39:34 +0300 |
commit | ad45b86533a47ae33ec99cebc61aee96b57e17a5 (patch) | |
tree | 615aa64ce907ed8a554353ff1d3fbf04666f2d2f /newlib/newlib.hin | |
parent | f9205f1d470ed1a214b841b6d2fd60fea14954cb (diff) |
Remove harmful casts in gmtime_r()
In case time_t is long, then the cast to long is a nop. In case time_t
is __int_least64_t, then the cast to long may truncate the value before
the division.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/newlib.hin')
0 files changed, 0 insertions, 0 deletions