commit | 08a1d9cafc5e713957d7ddd2b29ea75c3d073d96 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 21:45:13 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 21:45:13 2003 +0000 |
tree | edd316c87c7b752622925372d17739903bbbf95d | |
parent | 8e0ad0cb0bec01a4216230d1003e24fe8c7ab3c7 [diff] [blame] |
Squash compiler wng about signed/unsigned comparison mismatch.
diff --git a/Objects/longobject.c b/Objects/longobject.c index 2279fc3..7835784 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c
@@ -287,7 +287,7 @@ digit msd = v->ob_digit[ndigits - 1]; result = (ndigits - 1) * SHIFT; - if (result / SHIFT != ndigits - 1) + if (result / SHIFT != (size_t)ndigits - 1) goto Overflow; do { ++result;