Changess for THINK C 4.0.

This commit is contained in:
Guido van Rossum 1990-12-20 23:11:02 +00:00
parent 801f473a4c
commit 706eea8a06

View file

@ -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);
}