- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 90be55d..3cf11a0 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -117,7 +117,7 @@
PyErr_SetString(PyExc_ValueError, "Operation on closed file");
return NULL;
}
- if (!PyArg_ParseTuple(args, "m#", &buffer, &size))
+ if (!PyArg_ParseTuple(args, "s#", &buffer, &size))
return NULL;
err = FSWrite(self->fRefNum, &size, buffer);
if (err) {