changeset 39415:b69fbdd77c40

revlog: fix size of Python nodetree object Follows up 9f097214fbf3.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 04 Sep 2018 13:29:21 +0900
parents 1cbe19eb496d
children 6268fed317d0
files mercurial/cext/revlog.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */