diff options
| author | Guido van Rossum <guido@python.org> | 2000-06-28 21:31:10 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2000-06-28 21:31:10 +0000 |
| commit | e826895d4832e3e8e87d149f630275e3957fd393 (patch) | |
| tree | 617de0e7fbcd85f55cddb544c07fa7828f18399c /Modules/rotormodule.c | |
| parent | 26418a90f0990b567931c4e2ea408e72930a40c8 (diff) | |
| download | cpython-git-e826895d4832e3e8e87d149f630275e3957fd393.tar.gz | |
Trent Mick: use size_t instead of int where appropriate (set_key()).
Diffstat (limited to 'Modules/rotormodule.c')
| -rw-r--r-- | Modules/rotormodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index 3d570f7751..d63ad74c23 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]); |
