Commit 6c415d5d authored by Tres Seaver's avatar Tres Seaver

Suppress compiler warnings for signed/unsigned comparisons.

parent bce9d6fa
...@@ -1836,7 +1836,7 @@ bucket_repr(Bucket *self) ...@@ -1836,7 +1836,7 @@ bucket_repr(Bucket *self)
"%s(%s)", Py_TYPE(self)->tp_name, "%s(%s)", Py_TYPE(self)->tp_name,
PyBytes_AS_STRING(r)); PyBytes_AS_STRING(r));
#endif #endif
if (rv > 0 && rv < sizeof(repr)) if (rv > 0 && (size_t)rv < sizeof(repr))
{ {
Py_DECREF(r); Py_DECREF(r);
#ifdef PY3K #ifdef PY3K
......
...@@ -93,7 +93,7 @@ radixsort_int(element_type *in, element_type *work, size_t n) ...@@ -93,7 +93,7 @@ radixsort_int(element_type *in, element_type *work, size_t n)
int offset, offsetinc; int offset, offsetinc;
/* Which byte position are we working on now? 0=LSB, 1, 2, ... */ /* Which byte position are we working on now? 0=LSB, 1, 2, ... */
int bytenum; size_t bytenum;
#ifdef ZODB_64BIT_INTS #ifdef ZODB_64BIT_INTS
assert(sizeof(element_type) == 8); assert(sizeof(element_type) == 8);
......
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