eolian-cxx: Reinterpret cast instead.
authorSavio Sena <savio@expertisesolutions.com.br>
Tue, 30 Sep 2014 21:53:23 +0000 (18:53 -0300)
committerSavio Sena <savio@expertisesolutions.com.br>
Tue, 30 Sep 2014 21:53:23 +0000 (18:53 -0300)
src/bindings/eo_cxx/eo_cxx_interop.hh

index cf643f1..bb3b6a4 100644 (file)
@@ -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>