svn merge -r 21041:21301 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / source / blender / python / intern / bpy_util.c
index 6ec01e0c3fcef6a449d4b54c18c4c1434f987a92..bce73b903c02a9c4726bdb1568445da8d1ff775a 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * $Id: bpy_util.c 21247 2009-06-29 21:50:53Z jaguarandi $
+ * $Id$
  *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
@@ -171,7 +171,7 @@ void PyObSpit(char *name, PyObject *var) {
        else {
                PyObject_Print(var, stderr, 0);
                fprintf(stderr, " ref:%d ", var->ob_refcnt);
-               fprintf(stderr, " ptr:%ld", (long)var);
+               fprintf(stderr, " ptr:%p", (void *)var);
                
                fprintf(stderr, " type:");
                if(Py_TYPE(var))