From f140a0ded63a1ce80551a258d146b3da39a47860 Mon Sep 17 00:00:00 2001 From: JinWang An Date: Thu, 25 Jun 2020 18:36:24 +0900 Subject: [PATCH] Fix sst_vconf_get_int() Change-Id: I8311d7adf2651a0a0ae386eaa7a6fa4bf3d56528 Signed-off-by: JinWang An --- src/sst_vconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sst_vconf.c b/src/sst_vconf.c index c9ca3ba..1d148ed 100644 --- a/src/sst_vconf.c +++ b/src/sst_vconf.c @@ -85,7 +85,7 @@ int sst_vconf_get_int(sst_interface *iface, int *val) return SYSTEM_SETTINGS_ERROR_IO_ERROR; } - *val = result ? true : false; + *val = result; return SYSTEM_SETTINGS_ERROR_NONE; } @@ -369,4 +369,4 @@ int sst_vconf_unsubscribe(sst_interface *iface, system_settings_cb_id id) } return _unsubscribe(iface->vconf_key, found, &sst_vconf_map_new, _callback_fn_new); -} \ No newline at end of file +} -- 2.7.4