]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changess for THINK C 4.0.
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:11:02 +0000 (23:11 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:11:02 +0000 (23:11 +0000)
Parser/pgenmain.c

index 6eae23022769ca2f6436ce64a45140d5a511fe06..cc266ae05ede069e5d554ad6c4f9c667b5bf4dda 100644 (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);
        }