diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-13 15:23:10 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-13 15:23:10 +0000 |
commit | fa30332472f0d34fe2504cf7b99729a85a44e9c5 (patch) | |
tree | 8346c972396c6b94f1dfe3f2c13fd71ef5ac755c /Python/pythonrun.c | |
parent | dc4d8972ec74e31706426a7284ee8c80fc0b3996 (diff) | |
download | cpython-fa30332472f0d34fe2504cf7b99729a85a44e9c5.tar.gz |
Added missing casts.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |