Commit e826895d authored by Guido van Rossum's avatar Guido van Rossum

Trent Mick: use size_t instead of int where appropriate (set_key()).

parent 26418a90
......@@ -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]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment