Commit 31c7e4fb authored by Victor Stinner's avatar Victor Stinner

Issue #23834: Fix socket.sendto(), use the C long type to store the result of

sendto() instead of the C int type.
parent 320bec19
......@@ -21,6 +21,9 @@ Core and Builtins
Library
-------
- Issue #23834: Fix socket.sendto(), use the C long type to store the result of
sendto() instead of the C int type.
- Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.
- Issue #23838: linecache now clears the cache and returns an empty result on
......
......@@ -2901,7 +2901,8 @@ sock_sendto(PySocketSockObject *s, PyObject *args)
char *buf;
Py_ssize_t len;
sock_addr_t addrbuf;
int addrlen, n = -1, flags, timeout;
int addrlen, flags, timeout;
long n = -1;
int arglen;
flags = 0;
......
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