summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macfsmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r--Mac/Modules/macfsmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c
index 5bd2ce5..1a43d16 100644
--- a/Mac/Modules/macfsmodule.c
+++ b/Mac/Modules/macfsmodule.c
@@ -824,7 +824,7 @@ mfs_RawFSSpec(self, args)
FSSpec *fssp;
int size;
- if (!PyArg_ParseTuple(args, "s#", &fssp, &size))
+ if (!PyArg_ParseTuple(args, "m#", &fssp, &size))
return NULL;
if ( size != sizeof(FSSpec) ) {
PyErr_SetString(PyExc_TypeError, "Incorrect size for FSSpec record");
@@ -842,7 +842,7 @@ mfs_RawAlias(self, args)
Handle h;
int size;
- if (!PyArg_ParseTuple(args, "s#", &dataptr, &size))
+ if (!PyArg_ParseTuple(args, "m#", &dataptr, &size))
return NULL;
h = NewHandle(size);
if ( h == NULL ) {