A Python float is a C double; redeclare defaulttimeout as such; stops

compiler wngs on Windows.
This commit is contained in:
Tim Peters 2002-07-18 22:38:44 +00:00
parent 2d2fc229a0
commit a12b4cfaa5
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ internal_select(PySocketSockObject *s, int writing)
/* 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
init_sockobject(PySocketSockObject *s,