From 72f3b7a5ded370e835a23be2f091bbee4e538b4c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 13 Dec 2002 15:23:10 +0000 Subject: Added missing casts. --- Python/pythonrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index e41d618a32..a31c2d99ba 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -618,8 +618,8 @@ maybe_pyc_file(FILE *fp, const char* filename, const char* ext, int closeit) #ifdef macintosh /* On a mac, we also assume a pyc file for types 'PYC ' and 'APPL' */ - if (PyMac_getfiletype(filename) == 'PYC ' - || PyMac_getfiletype(filename) == 'APPL') + if (PyMac_getfiletype((char *)filename) == 'PYC ' + || PyMac_getfiletype((char *)filename) == 'APPL') return 1; #endif /* macintosh */ -- cgit v1.2.1