summaryrefslogtreecommitdiffstats
path: root/ganv/Canvas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Canvas.hpp')
-rw-r--r--ganv/Canvas.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index d3b2281..1a11408 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -150,7 +150,7 @@ namespace Glib {
static inline Ganv::Canvas*
wrap(GanvCanvas* canvas)
{
- return (Ganv::Canvas*)ganv_canvas_get_wrapper(canvas);
+ return static_cast<Ganv::Canvas*>(ganv_canvas_get_wrapper(canvas));
}
} // namespace Glib