diff --git a/_sctp.c b/_sctp.c index aa0dca7..fa1493a 100644 --- a/_sctp.c +++ b/_sctp.c @@ -1663,7 +1663,8 @@ static PyObject* getladdrs(PyObject* dummy, PyObject* args) static PyObject* sctp_send_msg(PyObject* dummy, PyObject* args) { - int fd, msg_len, size_sent, ppid, flags, stream, ttl, context; + Py_ssize_t msg_len; + int fd, size_sent, ppid, flags, stream, ttl, context; const char *msg; char *to; int port;