summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-01 08:44:03 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-10-01 08:44:03 +0200
commitb7a8af20ff09efdfa6896ecaff7d036562c17897 (patch)
tree11b94a30c8af65d5de222639341ab2db6df680a6 /Python/Python-ast.c
parent0d30940dd256da65c91c3bb2d1e135f90eb8c223 (diff)
downloadcpython-git-b7a8af20ff09efdfa6896ecaff7d036562c17897.tar.gz
Fix _PyTime_AsTimevalStruct_impl() on OpenBSD
On the x86 OpenBSD 5.8 buildbot, the integer overflow check is ignored. Copy the tv_sec variable into a Py_time_t variable instead of "simply" casting it to Py_time_t, to fix the integer overflow check.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions