Merged revisions 79856 via svnmerge from

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

........
  r79856 | mark.dickinson | 2010-04-06 19:58:54 +0100 (Tue, 06 Apr 2010) | 1 line

  Silence a 'comparison between signed and unsigned integer expressions' gcc warning.
........
This commit is contained in:
Mark Dickinson 2010-04-06 19:02:54 +00:00
parent 505add3ac9
commit 49a519c859
1 changed files with 1 additions and 1 deletions

View File

@ -2428,7 +2428,7 @@ _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e)
break;
}
}
assert(1 <= x_size && x_size <= sizeof(x_digits)/sizeof(digit));
assert(1 <= x_size && x_size <= (Py_ssize_t)(sizeof(x_digits)/sizeof(digit)));
/* Round, and convert to double. */
x_digits[0] += half_even_correction[x_digits[0] & 7];