Commit 7332cf1b authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2461 from jrtc27/patch-1

Fix test_itimer on x32
parents 5e7d4765 f77fcf83
......@@ -22,7 +22,7 @@ def test_itimer(sec, usec):
t.it_value.tv_sec = 0
t.it_value.tv_usec = 0
ret = setitimer(ITIMER_REAL, &t, NULL)
return gtime.it_interval.tv_sec, gtime.it_interval.tv_usec
return int(gtime.it_interval.tv_sec), int(gtime.it_interval.tv_usec)
def test_gettimeofday():
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment