summaryrefslogtreecommitdiffstats
path: root/Parser/pgenmain.c
diff options
context:
space:
mode:
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);
}