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