]> granicus.if.org Git - python/commitdiff
Trent Mick: use size_t instead of int where appropriate (call_readline()).
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:30:31 +0000 (21:30 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:30:31 +0000 (21:30 +0000)
Modules/readline.c

index 37baf8ca92a40066d7c54cff9cad9246e5f1651f..1bb60a85674e6656580cd4473c410178e83d2d58 100644 (file)
@@ -376,7 +376,7 @@ static char *
 call_readline(prompt)
        char *prompt;
 {
-       int n;
+       size_t n;
        char *p, *q;
        RETSIGTYPE (*old_inthandler)();
        old_inthandler = signal(SIGINT, onintr);