[Checkins] SVN: zope.security/trunk/src/zope/security/_zope_security_checker.c Fixed a comment and silenced a misleading warning about incompatible pointer types.

Shane Hathaway shane at hathawaymix.org
Mon Jul 14 10:19:45 EDT 2008


Log message for revision 88348:
  Fixed a comment and silenced a misleading warning about incompatible pointer types.
  

Changed:
  U   zope.security/trunk/src/zope/security/_zope_security_checker.c

-=-
Modified: zope.security/trunk/src/zope/security/_zope_security_checker.c
===================================================================
--- zope.security/trunk/src/zope/security/_zope_security_checker.c	2008-07-14 14:17:31 UTC (rev 88347)
+++ zope.security/trunk/src/zope/security/_zope_security_checker.c	2008-07-14 14:19:44 UTC (rev 88348)
@@ -106,8 +106,8 @@
 
 /*     def check(self, object, name): */
 
-/* Note that we have an int version gere because we will use it for
-   __setitem__, as describd below */
+/* Note that we have an int version here because we will use it for
+   __setitem__, as described below */
 
 static int
 Checker_check_int(Checker *self, PyObject *object, PyObject *name)
@@ -400,7 +400,7 @@
    in the same hack. */
 
 static PyMappingMethods Checker_as_mapping = {
-	/* mp_length        */ (inquiry)NULL,
+	/* mp_length        */ NULL,
 	/* mp_subscript     */ (binaryfunc)Checker_proxy,
 	/* mp_ass_subscript */ (objobjargproc)Checker_check_int,
 };



More information about the Checkins mailing list