summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-13 15:23:10 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-12-13 15:23:10 +0000
commit72f3b7a5ded370e835a23be2f091bbee4e538b4c (patch)
tree560b460f7811bf10e04d63c42c6dd6031a9f056b /Python/pythonrun.c
parent747c3d3f0242022c46213bcd90fb8c1a527be7b6 (diff)
downloadcpython-git-72f3b7a5ded370e835a23be2f091bbee4e538b4c.tar.gz
Added missing casts.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
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 */