summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-06 19:02:54 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-06 19:02:54 (GMT)
commit49a519c859b36d472f6ecd9fc5029f131dd437b3 (patch)
tree68142f81232d78e2e8136a56aefcc20a3f66f80a /Objects/longobject.c
parent505add3ac996b6b4ff47f753fb454ca0d4edad40 (diff)
downloadcpython-49a519c859b36d472f6ecd9fc5029f131dd437b3.zip
cpython-49a519c859b36d472f6ecd9fc5029f131dd437b3.tar.gz
cpython-49a519c859b36d472f6ecd9fc5029f131dd437b3.tar.bz2
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. ........
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 93f5611..2b5328d 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -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];