Commit 7d3a408a authored by Tim Peters's avatar Tim Peters

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

compiler wngs on Windows.
parent 96c0e7ce
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment