From ced2163b29bc02d9436bc40b28e57c92ad8a6d9b Mon Sep 17 00:00:00 2001 From: Savio Sena Date: Tue, 30 Sep 2014 18:53:23 -0300 Subject: [PATCH] eolian-cxx: Reinterpret cast instead. --- src/bindings/eo_cxx/eo_cxx_interop.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/eo_cxx/eo_cxx_interop.hh b/src/bindings/eo_cxx/eo_cxx_interop.hh index cf643f1..bb3b6a4 100644 --- a/src/bindings/eo_cxx/eo_cxx_interop.hh +++ b/src/bindings/eo_cxx/eo_cxx_interop.hh @@ -40,7 +40,7 @@ to_c(bool x) inline Eina_Bool* to_c(bool* x) { - return static_cast(x); + return reinterpret_cast(x); } template -- 2.7.4