diff Objects/typeobject.c @ 19618:a885d8761bd2 legacy-trunk

Squash new compiler wng.
author Tim Peters <tim.peters@gmail.com>
date Thu, 30 Aug 2001 20:07:55 +0000
parents 337b53679c73
children ae056f114974
line wrap: on
line diff
--- a/Objects/typeobject.c	Thu Aug 30 20:06:08 2001 +0000
+++ b/Objects/typeobject.c	Thu Aug 30 20:07:55 2001 +0000
@@ -864,7 +864,7 @@
 	else {
 		if (add_dict) {
 			if (base->tp_itemsize)
-				type->tp_dictoffset = -sizeof(PyObject *);
+				type->tp_dictoffset = -(long)sizeof(PyObject *);
 			else
 				type->tp_dictoffset = slotoffset;
 			slotoffset += sizeof(PyObject *);