##// END OF EJS Templates
parsers: use correct type for file offset...
Henrik Stuart -
r22402:fa53d66b default
parent child Browse files
Show More
@@ -681,10 +681,9 b' static PyObject *index_insert(indexObjec'
681 {
681 {
682 PyObject *obj;
682 PyObject *obj;
683 char *node;
683 char *node;
684 long offset;
684 Py_ssize_t offset, len, nodelen;
685 Py_ssize_t len, nodelen;
686
685
687 if (!PyArg_ParseTuple(args, "lO", &offset, &obj))
686 if (!PyArg_ParseTuple(args, "nO", &offset, &obj))
688 return NULL;
687 return NULL;
689
688
690 if (!PyTuple_Check(obj) || PyTuple_GET_SIZE(obj) != 8) {
689 if (!PyTuple_Check(obj) || PyTuple_GET_SIZE(obj) != 8) {
General Comments 0
You need to be logged in to leave comments. Login now