From d47fd4f2dd5c87f035bd7d1c4d5fa48d13f090f3 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Wed, 7 Jun 2017 15:24:04 +0900 Subject: [PATCH] Fix -Werror=old-style-cast error Fix -Werror=old-style-cast error Change-Id: Iebedc86627f2a26f5893657e423ab0db794d6a15 Signed-off-by: minho.sun --- adaptors/tizen/accessibility-adaptor-impl-tizen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptors/tizen/accessibility-adaptor-impl-tizen.cpp b/adaptors/tizen/accessibility-adaptor-impl-tizen.cpp index 588cfae..65ba859 100644 --- a/adaptors/tizen/accessibility-adaptor-impl-tizen.cpp +++ b/adaptors/tizen/accessibility-adaptor-impl-tizen.cpp @@ -52,7 +52,7 @@ bool GetEnabledVConf() vconf_get_bool( VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, &isEnabled ); } - return (bool)isEnabled; + return static_cast(isEnabled); } #if defined(DEBUG_ENABLED) -- 2.7.4