You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by nl...@apache.org on 2005/01/19 19:41:02 UTC

svn commit: r125641 - /httpd/mod_python/trunk/src/requestobject.c

Author: nlehuen
Date: Wed Jan 19 10:41:01 2005
New Revision: 125641

URL: http://svn.apache.org/viewcvs?view=rev&rev=125641
Log:
We cast requestobject* to PyObject* to remove one compilation warning from MSVC.
Modified:
   httpd/mod_python/trunk/src/requestobject.c

Modified: httpd/mod_python/trunk/src/requestobject.c
Url: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/src/requestobject.c?view=diff&rev=125641&p1=httpd/mod_python/trunk/src/requestobject.c&r1=125640&p2=httpd/mod_python/trunk/src/requestobject.c&r2=125641
==============================================================================
--- httpd/mod_python/trunk/src/requestobject.c	(original)
+++ httpd/mod_python/trunk/src/requestobject.c	Wed Jan 19 10:41:01 2005
@@ -65,7 +65,7 @@
 
     // we make sure that the object dictionary is there
     // before registering the object with the GC
-    _PyObject_GetDictPtr(result);
+    _PyObject_GetDictPtr((PyObject*)result);
     PyObject_GC_Track(result);
 
     return (PyObject *) result;