mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Added missing casts.
This commit is contained in:
parent
747c3d3f02
commit
72f3b7a5de
2 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue