* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
This commit is contained in:
Andreas Rumpf 2019-05-22 11:50:05 +02:00 • committed by GitHub
commit 1e97b420bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 4 deletions

View file

@ -1102,7 +1102,7 @@ else:
# In case of a 32-bit time_t, we fallback to the closest available
# timezone information.
var a = clamp(unix, low(CTime), high(CTime)).CTime
var a = clamp(unix, low(CTime).int64, high(CTime).int64).CTime
let tmPtr = localtime(a)
if not tmPtr.isNil:
let tm = tmPtr[]