commit | e826895d4832e3e8e87d149f630275e3957fd393 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 28 21:31:10 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 28 21:31:10 2000 +0000 |
tree | 617de0e7fbcd85f55cddb544c07fa7828f18399c | |
parent | 26418a90f0990b567931c4e2ea408e72930a40c8 [diff] [blame] |
Trent Mick: use size_t instead of int where appropriate (set_key()).
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 @@ 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]);