summaryrefslogtreecommitdiffstats
path: root/Parser/pgenmain.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-12-20 23:11:02 (GMT)
committerGuido van Rossum <guido@python.org>1990-12-20 23:11:02 (GMT)
commit706eea8a063e44fd7d751cb0dab3da42a6b2b03d (patch)
treed37a3916e1c0b55dae01f679b89232dd4cfa6b5e /Parser/pgenmain.c
parent801f473a4c8d2a4591b90e04aa3455df0541fb39 (diff)
downloadcpython-706eea8a063e44fd7d751cb0dab3da42a6b2b03d.zip
cpython-706eea8a063e44fd7d751cb0dab3da42a6b2b03d.tar.gz
cpython-706eea8a063e44fd7d751cb0dab3da42a6b2b03d.tar.bz2
Changess for THINK C 4.0.
Diffstat (limited to 'Parser/pgenmain.c')
-rw-r--r--Parser/pgenmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c
index 6eae230..cc266ae 100644
--- a/Parser/pgenmain.c
+++ b/Parser/pgenmain.c
@@ -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);
}