diff options
author | Guido van Rossum <guido@python.org> | 1995-02-17 14:24:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-17 14:24:11 (GMT) |
commit | 5bc76cdaabbd1277b21aec8cc4e474a67d046267 (patch) | |
tree | 89aa94c4785b9e529adf2847cee82d1c4ade6858 /Mac/Compat | |
parent | 8318f2fb8f28280c5134768c80e34a991e1ec6ed (diff) | |
download | cpython-5bc76cdaabbd1277b21aec8cc4e474a67d046267.zip cpython-5bc76cdaabbd1277b21aec8cc4e474a67d046267.tar.gz cpython-5bc76cdaabbd1277b21aec8cc4e474a67d046267.tar.bz2 |
add casts for __SC__
Diffstat (limited to 'Mac/Compat')
-rw-r--r-- | Mac/Compat/getwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Compat/getwd.c b/Mac/Compat/getwd.c index e9a5455..23810d1 100644 --- a/Mac/Compat/getwd.c +++ b/Mac/Compat/getwd.c @@ -62,7 +62,7 @@ getwd(cwd) sprintf(cwd, "I/O error %d in PBHGetVol", err); return NULL; } - ecwd= strchr(p2cstr((unsigned char*)cwd), EOS); + ecwd= strchr((const char *)p2cstr((unsigned char*)cwd), EOS); ebuf= buf; *ebuf = EOS; @@ -81,7 +81,7 @@ getwd(cwd) return NULL; } dirid= pb.d.ioDrParID; - ebuf += strlen(p2cstr((unsigned char *)ebuf)); + ebuf += strlen((const char *)p2cstr((unsigned char *)ebuf)); /* Should check for buf overflow */ } } |