savio pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ced2163b29bc02d9436bc40b28e57c92ad8a6d9b

commit ced2163b29bc02d9436bc40b28e57c92ad8a6d9b
Author: Savio Sena <[email protected]>
Date:   Tue Sep 30 18:53:23 2014 -0300

    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<Eina_Bool*>(x);
+   return reinterpret_cast<Eina_Bool*>(x);
 }
 
 template <typename T>

-- 


Reply via email to