[Zope-Checkins] CVS: Zope/lib/python/AccessControl - cAccessControl.c:1.21.4.2

Jim Fulton cvs-admin at zope.org
Tue Nov 25 12:04:36 EST 2003


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv14905/lib/python/AccessControl

Modified Files:
      Tag: zodb33-devel-branch
	cAccessControl.c 
Log Message:
Added some casts to make warnings go away.


=== Zope/lib/python/AccessControl/cAccessControl.c 1.21.4.1 => 1.21.4.2 ===
--- Zope/lib/python/AccessControl/cAccessControl.c:1.21.4.1	Sat Nov 15 07:10:59 2003
+++ Zope/lib/python/AccessControl/cAccessControl.c	Tue Nov 25 12:04:35 2003
@@ -449,7 +449,7 @@
 	NULL,					/* tp_next	*/
 #endif
 	METHOD_CHAIN(ZopeSecurityPolicy_methods),/* methods	*/
-	EXTENSIONCLASS_BINDABLE_FLAG,		/* flags	*/
+	(void*)(EXTENSIONCLASS_BINDABLE_FLAG),		/* flags	*/
 };
 
 
@@ -567,7 +567,7 @@
 	NULL,					/* tp_next	*/
 #endif
 	METHOD_CHAIN(PermissionRole_methods),	/* methods	*/
-	EXTENSIONCLASS_BINDABLE_FLAG/*|
+	(void*)(EXTENSIONCLASS_BINDABLE_FLAG) /*|
 	EXTENSIONCLASS_INSTDICT_FLAG*/,		/* flags	*/
 };
 
@@ -629,7 +629,7 @@
 	NULL,					/* tp_next	*/
 #endif
 	METHOD_CHAIN(imPermissionRole_methods), /* methods	*/
-	EXTENSIONCLASS_BINDABLE_FLAG,		/* flags	*/
+	(void*)(EXTENSIONCLASS_BINDABLE_FLAG),		/* flags	*/
 };
 
 




More information about the Zope-Checkins mailing list