commit | af580dff4af3cb812cdd7a229a4a65059b3bc1ee | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Sep 06 10:46:49 2016 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Sep 06 10:46:49 2016 -0700 |
tree | 69954d6e499793f75edc045e31ade0e0eabb6053 | |
parent | 45c7514de406d9ed84e46d80500fb4ac87a94ea8 [diff] [blame] |
replace PY_LONG_LONG with long long
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index cb0e995..74a6ee8 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h
@@ -77,7 +77,7 @@ /* wait at least until the target */ DWORD now, target = GetTickCount() + milliseconds; while (mutex->locked) { - if (PyCOND_TIMEDWAIT(&mutex->cv, &mutex->cs, (PY_LONG_LONG)milliseconds*1000) < 0) { + if (PyCOND_TIMEDWAIT(&mutex->cv, &mutex->cs, (long long)milliseconds*1000) < 0) { result = WAIT_FAILED; break; }