summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-28 21:30:31 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-28 21:30:31 (GMT)
commit26418a90f0990b567931c4e2ea408e72930a40c8 (patch)
treebe9dbdcd806d7d0c00d34157b464513d5438445a /Modules/readline.c
parent2650a42f0bf1688b6b51bf5b4fb13974589ad937 (diff)
downloadcpython-26418a90f0990b567931c4e2ea408e72930a40c8.zip
cpython-26418a90f0990b567931c4e2ea408e72930a40c8.tar.gz
cpython-26418a90f0990b567931c4e2ea408e72930a40c8.tar.bz2
Trent Mick: use size_t instead of int where appropriate (call_readline()).
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 37baf8c..1bb60a8 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -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);