summaryrefslogtreecommitdiffstats
path: root/Objects/rangeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
commitda9c2710c728407f47f34635a75647c56a9ec106 (patch)
treeb8248e8ba3432a2d4b4fc4034214a60b2b96cf9d /Objects/rangeobject.c
parent472c04f18f54327433c13601b25c7ea2c7071e6b (diff)
downloadcpython-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.c2
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)