Show More
@@ -2612,7 +2612,7 b' static int index_init(indexObject *self,' | |||||
2612 | "data does not support buffer interface"); |
|
2612 | "data does not support buffer interface"); | |
2613 | return -1; |
|
2613 | return -1; | |
2614 | } |
|
2614 | } | |
2615 | if (self->nodelen < 20 || self->nodelen > sizeof(nullid)) { |
|
2615 | if (self->nodelen < 20 || self->nodelen > (Py_ssize_t)sizeof(nullid)) { | |
2616 | PyErr_SetString(PyExc_RuntimeError, "unsupported node size"); |
|
2616 | PyErr_SetString(PyExc_RuntimeError, "unsupported node size"); | |
2617 | return -1; |
|
2617 | return -1; | |
2618 | } |
|
2618 | } |
General Comments 0
You need to be logged in to leave comments.
Login now