Browse files

Fix data type.

  • Loading branch information...
1 parent 50ac131 commit e32440afeb393807075588df271499f6431b5286 @tv42 committed Mar 6, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/eunuchs/sendmsg.c
View
2 lib/eunuchs/sendmsg.c
@@ -101,7 +101,7 @@ static PyObject *my_sendmsg(PyObject *self, PyObject *args, PyObject *keywds) {
real_controllen += CMSG_SPACE(sizeof *info);
} else {
char *data;
- int len;
+ ssize_t len;
if (PyString_AsStringAndSize(rest, &data, &len))
return NULL; // TODO leaks

0 comments on commit e32440a

Please sign in to comment.