Fix 64bit build error 48/237848/2 submit/tizen/20200706.154131
authorJeon Sang-Heon <sh95.jeon@samsung.com>
Mon, 6 Jul 2020 14:35:05 +0000 (14:35 +0000)
committerJeon Sang-Heon <sh95.jeon@samsung.com>
Mon, 6 Jul 2020 15:34:41 +0000 (15:34 +0000)
- Change value casting to fix 64bit.

Change-Id: I086c0019f8ab23efabe17f390b5ce39b234ed962
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
src/update_control.c

index 1d36ff37bf92bffe13beaa772934f635779a4f54..0b67ac6389e75acaea8888df7974980867fa98b5 100644 (file)
@@ -261,7 +261,7 @@ API int update_control_get_property(update_control_property_e property, void **v
                }
 
                _I("Success to get result : %d", status);
-               *value = (void *)(status);
+               *(int *)(*value) = status;
                return UPDATE_CONTROL_ERROR_NONE;
        default:
                _I("Unsupported property : %d", property);