Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r46248:65f7df526fc1 Date: 2011-08-03 17:44 +0200 http://bitbucket.org/pypy/pypy/changeset/65f7df526fc1/
Log: The next OpenBSD64 fix... diff --git a/pypy/module/rctime/interp_time.py b/pypy/module/rctime/interp_time.py --- a/pypy/module/rctime/interp_time.py +++ b/pypy/module/rctime/interp_time.py @@ -320,7 +320,7 @@ def _gettmarg(space, w_tup, allowNone=True): if allowNone and space.is_w(w_tup, space.w_None): # default to the current local time - tt = rffi.r_time_t(pytime.time()) + tt = rffi.r_time_t(int(pytime.time())) t_ref = lltype.malloc(rffi.TIME_TP.TO, 1, flavor='raw') t_ref[0] = tt pbuf = c_localtime(t_ref) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit