PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.

This commit is contained in:
Jack Jansen 2000-07-03 23:53:40 +00:00
parent db6382941b
commit fe38d2998f
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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];