use the correct macro to access list size
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 66e4460..c630f17 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2264,7 +2264,7 @@
 	 * subclasses of list, there being nothing to copy.
 	 */
 	if (PyList_CheckExact(v)) {
-		i = ((PyListObject*)v)->ob_size;
+		i = PyList_GET_SIZE(v);
 		if (i == 0)
 			return 0;
 		if (i > LISTFILL_OPT_THRESHOLD)