Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 26643:02ba4663cad2 legacy-trunk
Added missing casts.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 13 Dec 2002 15:23:10 +0000 |
| parents | cc05c2c8660e |
| children | 54aacb87beda |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Dec 13 15:20:53 2002 +0000 +++ b/Python/pythonrun.c Fri Dec 13 15:23:10 2002 +0000 @@ -618,8 +618,8 @@ #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 */
