revlog: fix size of Python nodetree object
authorYuya Nishihara <yuya@tcha.org>
Tue, 04 Sep 2018 13:29:21 +0900
changeset 39415 b69fbdd77c40
parent 39414 1cbe19eb496d
child 39419 6268fed317d0
revlog: fix size of Python nodetree object Follows up 9f097214fbf3.
mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c	Mon Sep 03 23:03:19 2018 +0900
+++ b/mercurial/cext/revlog.c	Tue Sep 04 13:29:21 2018 +0900
@@ -1249,7 +1249,7 @@
 static PyTypeObject nodetreeType = {
 	PyVarObject_HEAD_INIT(NULL, 0) /* header */
 	"parsers.nodetree",        /* tp_name */
-	sizeof(nodetree) ,         /* tp_basicsize */
+	sizeof(nodetreeObject) ,   /* tp_basicsize */
 	0,                         /* tp_itemsize */
 	(destructor)ntobj_dealloc, /* tp_dealloc */
 	0,                         /* tp_print */