From: Guido van Rossum Date: Thu, 20 Dec 1990 23:11:02 +0000 (+0000) Subject: Changess for THINK C 4.0. X-Git-Tag: v0.9.8~1090 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=706eea8a063e44fd7d751cb0dab3da42a6b2b03d;p=thirdparty%2FPython%2Fcpython.git Changess for THINK C 4.0. --- diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index 6eae23022769..cc266ae05ede 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); }