diff options
-rw-r--r-- | Mac/Include/macglue.h | 2 | ||||
-rw-r--r-- | Mac/Python/macimport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index fe8d691..a3bfb90 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -93,7 +93,7 @@ int PyMac_FindResourceModule(PyStringObject *, char *, char *); /* Test for 'PYC PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */ int PyMac_FindCodeResourceModule(PyStringObject *, char *, char *); /* Test for 'PYD ' resource in a file */ PyObject * PyMac_LoadCodeResourceModule(char *, char *); /* Load 'PYD ' resource from file */ -struct filedescr *PyMac_FindModuleExtension(char *, int *, char *); /* Look for module in single folder */ +struct filedescr *PyMac_FindModuleExtension(char *, size_t *, char *); /* Look for module in single folder */ int PyMac_GetDirectory(FSSpec *dirfss, char *prompt); /* Ask user for a directory */ void PyMac_PromptGetFile(short numTypes, ConstSFTypeListPtr typeList, diff --git a/Mac/Python/macimport.c b/Mac/Python/macimport.c index 2f5d622..1b3b994 100644 --- a/Mac/Python/macimport.c +++ b/Mac/Python/macimport.c @@ -407,7 +407,7 @@ error: ** pathname of the module found (if any). */ struct filedescr * -PyMac_FindModuleExtension(char *buf, int *lenp, char *module) +PyMac_FindModuleExtension(char *buf, size_t *lenp, char *module) { struct filedescr *fdp; unsigned char fnbuf[64]; |