summaryrefslogtreecommitdiff
path: root/Examples/php/value/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/php/value/example.i')
-rw-r--r--Examples/php/value/example.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/php/value/example.i b/Examples/php/value/example.i
index 386fa3b84..20a453468 100644
--- a/Examples/php/value/example.i
+++ b/Examples/php/value/example.i
@@ -11,7 +11,7 @@
%inline %{
void vector_print(Vector *v) {
- printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
+ printf("Vector %p = (%g, %g, %g)\n", (void *)v, v->x, v->y, v->z);
}
%}