summaryrefslogtreecommitdiff
path: root/Examples/octave/extend/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/octave/extend/example.h')
-rw-r--r--Examples/octave/extend/example.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/octave/extend/example.h b/Examples/octave/extend/example.h
index 9e15cf8e4..77a26ec95 100644
--- a/Examples/octave/extend/example.h
+++ b/Examples/octave/extend/example.h
@@ -14,7 +14,7 @@ public:
virtual std::string getTitle() { return getPosition() + " " + getName(); }
virtual std::string getName() { return name; }
virtual std::string getPosition() const { return "Employee"; }
- virtual ~Employee() { printf("~Employee() @ %p\n", this); }
+ virtual ~Employee() { printf("~Employee() @ %p\n", (void *)this); }
};