cedric pushed a commit to branch master.

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

commit a57eca7f02512553e77aee90b0a80626013be0d5
Author: Cedric BAIL <[email protected]>
Date:   Mon Mar 5 13:36:54 2018 -0800

    eo: allow setting value eo Eina_Value from an Eo pointer directly.
---
 src/lib/eo/eo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 243c8929ce..b9a6bcd61f 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -3386,8 +3386,8 @@ static Eina_Bool
 _eo_value_vset(const Eina_Value_Type *type EINA_UNUSED, void *mem, va_list 
args)
 {
    Eo **dst = mem;
-   Eo **src = va_arg(args, Eo **);
-   efl_replace(dst, *src);
+   Eo *src = va_arg(args, Eo *);
+   efl_replace(dst, src);
    return EINA_TRUE;
 }
 

-- 


Reply via email to