[Python-checkins] r79712 - python/trunk/Objects/intobject.c
raymond.hettinger
python-checkins at python.org
Sat Apr 3 19:10:05 CEST 2010
Author: raymond.hettinger
Date: Sat Apr 3 19:10:05 2010
New Revision: 79712
Log:
Silence a compiler warning.
Modified:
python/trunk/Objects/intobject.c
Modified: python/trunk/Objects/intobject.c
==============================================================================
--- python/trunk/Objects/intobject.c (original)
+++ python/trunk/Objects/intobject.c Sat Apr 3 19:10:05 2010
@@ -1150,7 +1150,7 @@
p = bufend = buf + sizeof(buf);
absn = n < 0 ? 0UL - n : n;
do {
- *--p = '0' + absn % 10;
+ *--p = '0' + (char)(absn % 10);
absn /= 10;
} while (absn);
if (n < 0)
More information about the Python-checkins
mailing list