diff options
author | Fred Drake <fdrake@acm.org> | 1999-12-30 18:05:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-12-30 18:05:43 (GMT) |
commit | e1a79b9b424cb7e4362b0d4bda08396ebe9cab7a (patch) | |
tree | af517aaf32a342a2f6f8ae40e5205eb1a589a3e6 /Modules | |
parent | f7ac1d32f04cdda7d8b6200daa8eedf89aba1290 (diff) | |
download | cpython-e1a79b9b424cb7e4362b0d4bda08396ebe9cab7a.zip cpython-e1a79b9b424cb7e4362b0d4bda08396ebe9cab7a.tar.gz cpython-e1a79b9b424cb7e4362b0d4bda08396ebe9cab7a.tar.bz2 |
setup_confname_table(): Use size_t instead of int for an index when
building the dicts used to inform the user about the defined
constants when using the *conf*() APIs.
Thanks to Mark Hammond <mhammond@skippinet.com.au>.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 7f3b0e7..7736ac3 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4316,7 +4316,7 @@ setup_confname_table(table, tablesize, tablename, moddict) d = PyDict_New(); if (d != NULL) { PyObject *o; - int i = 0; + size_t i = 0; for (; i < tablesize; ++i) { o = PyInt_FromLong(table[i].value); |