]> granicus.if.org Git - python/commitdiff
Trent Mick: use size_t instead of int where appropriate (mpz_format()).
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:29:47 +0000 (21:29 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:29:47 +0000 (21:29 +0000)
Modules/mpzmodule.c

index 1aaf787e6b53ad941f26597779b2bdd97b1648be..af44abf3c696698afb2fa6d1800c6f2b137e577b 100644 (file)
@@ -143,7 +143,7 @@ mpz_format(objp, base, withname)
 {
        mpzobject *mpzp = (mpzobject *)objp;
        PyStringObject *strobjp;
-       int i;
+       size_t i;
        int cmpres;
        int taglong;
        char *cp;