diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 22:00:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 22:00:02 (GMT) |
commit | 6da3434e037a281c771ad0fe37896920bfedd140 (patch) | |
tree | 62e6693804a2140d177126ba0754485ad44862cf /Parser/pgenmain.c | |
parent | 0ed1148b75de3ab7b969cc22c35bdb6273992954 (diff) | |
download | cpython-6da3434e037a281c771ad0fe37896920bfedd140.zip cpython-6da3434e037a281c771ad0fe37896920bfedd140.tar.gz cpython-6da3434e037a281c771ad0fe37896920bfedd140.tar.bz2 |
Trent Mick: familiar simple Win64 patches
Diffstat (limited to 'Parser/pgenmain.c')
-rw-r--r-- | Parser/pgenmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index 34c3b01..569a588 100644 --- a/Parser/pgenmain.c +++ b/Parser/pgenmain.c @@ -127,7 +127,7 @@ getgrammar(filename) fprintf(stderr, "Parsing error %d, line %d.\n", err.error, err.lineno); if (err.text != NULL) { - int i; + size_t i; fprintf(stderr, "%s", err.text); i = strlen(err.text); if (i == 0 || err.text[i-1] != '\n') @@ -195,7 +195,7 @@ char * PyOS_Readline(prompt) char *prompt; { - int n = 1000; + size_t n = 1000; char *p = PyMem_MALLOC(n); char *q; if (p == NULL) |