Commit 741984dc authored by Mark Dickinson's avatar Mark Dickinson

Merged revisions 75003 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75003 | mark.dickinson | 2009-09-21 17:16:44 +0100 (Mon, 21 Sep 2009) | 1 line

  Silence MSVC compiler warnings.
........
parent 31d4607d
......@@ -1702,8 +1702,9 @@ long_to_decimal_string(PyObject *aa)
digit hi = pin[i];
for (j = 0; j < size; j++) {
twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
hi = z / _PyLong_DECIMAL_BASE;
pout[j] = z - (twodigits)hi * _PyLong_DECIMAL_BASE;
hi = (digit)(z / _PyLong_DECIMAL_BASE);
pout[j] = (digit)(z - (twodigits)hi *
_PyLong_DECIMAL_BASE);
}
while (hi) {
pout[size++] = hi % _PyLong_DECIMAL_BASE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment