--- trunk/Modules/posixmodule.c 2007-07-08 09:43:50.000000000 -0400 +++ trunk/Modules/posixmodule.c.fix 2007-07-08 09:48:27.000000000 -0400 @@ -1826,9 +1826,9 @@ posix_chown(PyObject *self, PyObject *args) { char *path = NULL; - int uid, gid; + unsigned int uid, gid; int res; - if (!PyArg_ParseTuple(args, "etii:chown", + if (!PyArg_ParseTuple(args, "etII:chown", Py_FileSystemDefaultEncoding, &path, &uid, &gid)) return NULL;