commit | 30583e3f3890feb59fcedd74637d83c0c03ad958 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Apr 03 17:10:05 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Apr 03 17:10:05 2010 +0000 |
tree | b90aa16919d9dd1d805a95c1e88b6e254ed78364 | |
parent | ba097ec1be8569b1f08e074cf23b9ed05c3ff683 [diff] [blame] |
Silence a compiler warning.
diff --git a/Objects/intobject.c b/Objects/intobject.c index 8fe31bf..0235663 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c
@@ -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)