From af89c77820745488debade053a4782fe213ab36b Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Mon, 25 Sep 2017 16:07:09 +0900 Subject: fix build warning Change-Id: Ic4ea6cd3c7ca49374d43d531f67914ea28dbcb2d (cherry picked from commit 7b40c2ad218c2d15f33556b7bc1a29bb14d41b93) --- collation.c | 2 +- util_func.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/collation.c b/collation.c index 8a13344..e1e966b 100644 --- a/collation.c +++ b/collation.c @@ -476,7 +476,7 @@ int db_util_create_collation( ret = __db_util_dl_load_icu(); DB_UTIL_RETV_IF(ret != DB_UTIL_OK, DB_UTIL_ERROR); - const char *lang = vconf_get_str(VCONFKEY_LANGSET); + char *lang = vconf_get_str(VCONFKEY_LANGSET); /* get current locale */ if (lang) { icu_symbol.icu_uloc_setDefault(lang, &status); diff --git a/util_func.c b/util_func.c index 1911992..cd6c87c 100644 --- a/util_func.c +++ b/util_func.c @@ -21,6 +21,7 @@ #include #include +#include #include "util-func.h" #include "collation.h" -- cgit v1.2.3