mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixes cast warning in bufferedio.c
This commit is contained in:
parent
855482e74c
commit
6baa0f9805
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue