Narrowing conversion warning is fixed. The missed header file is cctype
is included.
Change-Id: I13a86fa5d483f81b205040ece6022675efeeb1c3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
#include <vconf.h>
+#include <cctype>
#include <memory>
#include <string>
#include <vector>
lang[0],
lang[1],
'-',
- std::tolower(lang[3]),
- std::tolower(lang[4])
+ static_cast<char>(std::tolower(static_cast<int>(lang[3]))),
+ static_cast<char>(std::tolower(static_cast<int>(lang[4])))
});
}