From d5feb12e5946e78280d7ffe175d14dcbb3b1286d Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Fri, 20 Jan 2006 07:56:43 +0000 Subject: [PATCH] fix warning git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8491 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/python/swigobject.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/python/swigobject.i b/Examples/test-suite/python/swigobject.i index cd802cf38..fcecaffb7 100644 --- a/Examples/test-suite/python/swigobject.i +++ b/Examples/test-suite/python/swigobject.i @@ -10,7 +10,7 @@ const char* pointer_str(A *a){ static char result[1024]; - sprintf(result,"%p",a); + sprintf(result,"%p", (void *)a); return result; }