diff options
author | Guido van Rossum <guido@python.org> | 1996-12-05 21:58:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-05 21:58:58 (GMT) |
commit | da9c2710c728407f47f34635a75647c56a9ec106 (patch) | |
tree | b8248e8ba3432a2d4b4fc4034214a60b2b96cf9d /Objects/rangeobject.c | |
parent | 472c04f18f54327433c13601b25c7ea2c7071e6b (diff) | |
download | cpython-da9c2710c728407f47f34635a75647c56a9ec106.zip cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.gz cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.bz2 |
Make gcc -Wall happy
Diffstat (limited to 'Objects/rangeobject.c')
-rw-r--r-- | Objects/rangeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index caadc77..ee7af08 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -98,7 +98,7 @@ range_print(r, fp, flags) if (j > 0 || i > 0) fprintf(fp, ", "); - fprintf(fp, "%d", r->start + j * r->step); + fprintf(fp, "%ld", r->start + j * r->step); } if (r->len == 1 && r->reps == 1) |