diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-05-23 15:59:25 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-23 15:59:25 (GMT) |
commit | 6baa0f98056cb9d48b8c497017c71482d4b208ff (patch) | |
tree | 27d63db395f9c80a1d2c087c9f87127ea1e17719 /Modules/_io | |
parent | 855482e74c00e8af295ccc8b4ffc01a4d9b31969 (diff) | |
download | cpython-6baa0f98056cb9d48b8c497017c71482d4b208ff.zip cpython-6baa0f98056cb9d48b8c497017c71482d4b208ff.tar.gz cpython-6baa0f98056cb9d48b8c497017c71482d4b208ff.tar.bz2 |
Fixes cast warning in bufferedio.c
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/bufferedio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c index 23ba3df..29e000b 100644 --- a/Modules/_io/bufferedio.c +++ b/Modules/_io/bufferedio.c @@ -297,7 +297,7 @@ _enter_buffered_busy(buffered *self) * Note that non-daemon threads have already exited here, so this * shouldn't affect carefully written threaded I/O code. */ - st = PyThread_acquire_lock_timed(self->lock, 1e6, 0); + st = PyThread_acquire_lock_timed(self->lock, (PY_TIMEOUT_T)1e6, 0); } Py_END_ALLOW_THREADS if (relax_locking && st != PY_LOCK_ACQUIRED) { |