From fafb9c056db92557233d3d2e585977a0598013af Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 10 Aug 2022 15:37:08 +0900 Subject: [PATCH] Remove build warning messages Narrowing conversion warning is fixed. The missed header file is cctype is included. Change-Id: I13a86fa5d483f81b205040ece6022675efeeb1c3 Signed-off-by: Hwankyu Jhun --- src/aul_comp_info.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/aul_comp_info.cc b/src/aul_comp_info.cc index 607603e..36204ed 100644 --- a/src/aul_comp_info.cc +++ b/src/aul_comp_info.cc @@ -18,6 +18,7 @@ #include +#include #include #include #include @@ -55,8 +56,8 @@ std::string GetSystemLocale() { lang[0], lang[1], '-', - std::tolower(lang[3]), - std::tolower(lang[4]) + static_cast(std::tolower(static_cast(lang[3]))), + static_cast(std::tolower(static_cast(lang[4]))) }); } -- 2.7.4