summaryrefslogtreecommitdiffstats
path: root/Python/thread_nt.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 17:46:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 17:46:49 (GMT)
commitaf580dff4af3cb812cdd7a229a4a65059b3bc1ee (patch)
tree69954d6e499793f75edc045e31ade0e0eabb6053 /Python/thread_nt.h
parent45c7514de406d9ed84e46d80500fb4ac87a94ea8 (diff)
downloadcpython-af580dff4af3cb812cdd7a229a4a65059b3bc1ee.zip
cpython-af580dff4af3cb812cdd7a229a4a65059b3bc1ee.tar.gz
cpython-af580dff4af3cb812cdd7a229a4a65059b3bc1ee.tar.bz2
replace PY_LONG_LONG with long long
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r--Python/thread_nt.h2
1 files changed, 1 insertions, 1 deletions
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 @@ EnterNonRecursiveMutex(PNRMUTEX mutex, DWORD milliseconds)
/* 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;
}