mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
Changess for THINK C 4.0.
This commit is contained in:
parent
801f473a4c
commit
706eea8a06
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ askfile()
|
||||||
printf("EOF\n");
|
printf("EOF\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
/* XXX The (unsigned char *) case is needed by THINK C */
|
/* XXX The (unsigned char *) case is needed by THINK C 3.0 */
|
||||||
if (sscanf((unsigned char *)buf, " %s ", name) != 1) {
|
if (sscanf(/*(unsigned char *)*/buf, " %s ", name) != 1) {
|
||||||
printf("No file\n");
|
printf("No file\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue