diff options
Diffstat (limited to 'Mac/Modules/ah/_AHmodule.c')
-rw-r--r-- | Mac/Modules/ah/_AHmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/ah/_AHmodule.c b/Mac/Modules/ah/_AHmodule.c index 7543e54..cf69076 100644 --- a/Mac/Modules/ah/_AHmodule.c +++ b/Mac/Modules/ah/_AHmodule.c @@ -52,7 +52,7 @@ static PyObject *Ah_AHGotoMainTOC(PyObject *_self, PyObject *_args) PyObject *_res = NULL; OSStatus _err; AHTOCType toctype; - if (!PyArg_ParseTuple(_args, "s", + if (!PyArg_ParseTuple(_args, "h", &toctype)) return NULL; _err = AHGotoMainTOC(toctype); |