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; }