mirror of
https://github.com/python/cpython
synced 2024-09-04 15:56:13 +00:00
Changess for THINK C 4.0.
This commit is contained in:
parent
801f473a4c
commit
706eea8a06
|
@ -102,8 +102,8 @@ askfile()
|
|||
printf("EOF\n");
|
||||
exit(1);
|
||||
}
|
||||
/* XXX The (unsigned char *) case is needed by THINK C */
|
||||
if (sscanf((unsigned char *)buf, " %s ", name) != 1) {
|
||||
/* XXX The (unsigned char *) case is needed by THINK C 3.0 */
|
||||
if (sscanf(/*(unsigned char *)*/buf, " %s ", name) != 1) {
|
||||
printf("No file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue