From e826895d4832e3e8e87d149f630275e3957fd393 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Jun 2000 21:31:10 +0000 Subject: Trent Mick: use size_t instead of int where appropriate (set_key()). --- Modules/rotormodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index 3d570f7..d63ad74 100644 --- a/Modules/rotormodule.c +++ b/Modules/rotormodule.c @@ -147,8 +147,8 @@ set_key(r, key) char *key; { unsigned long k1=995, k2=576, k3=767, k4=671, k5=463; - int i; - int len = strlen(key); + size_t i; + size_t len = strlen(key); for (i = 0; i < len; i++) { unsigned short ki = Py_CHARMASK(key[i]); -- cgit v0.12