mirror of
https://github.com/python/cpython.git
synced 2025-08-11 04:19:06 +00:00
A Python float is a C double; redeclare defaulttimeout as such; stops
compiler wngs on Windows.
This commit is contained in:
parent
2d2fc229a0
commit
a12b4cfaa5
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ internal_select(PySocketSockObject *s, int writing)
|
||||||
|
|
||||||
/* Initialize a new socket object. */
|
/* Initialize a new socket object. */
|
||||||
|
|
||||||
static float defaulttimeout = -1.0; /* Default timeout for new sockets */
|
static double defaulttimeout = -1.0; /* Default timeout for new sockets */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
init_sockobject(PySocketSockObject *s,
|
init_sockobject(PySocketSockObject *s,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue