diff options
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r-- | Mac/Modules/macosmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ rf_write(self, args) 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) { |