From e9e8238ba4b8cb27aaa2d88b8e7daaa830a7730c Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 12 Apr 2022 10:04:09 +0900 Subject: [PATCH] Fix build break issue - Use GPOINTER_TO_UINT() instead of reinterpret_cast Change-Id: Ib30e3ccae97ace5af7afae623238dac349cf9005 Signed-off-by: Hwankyu Jhun --- tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc b/tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc index 8666ad3..f16788b 100644 --- a/tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc +++ b/tizen-cpp/app-core-ui-cpp/app_core_ui_base.cc @@ -419,7 +419,7 @@ void AppCoreUiBase::Impl::Run(int argc, char** argv) { service_ = parent_->CreateTask(); context_ = g_main_context_new(); - std::string env = std::to_string(reinterpret_cast(context_)); + std::string env = std::to_string(GPOINTER_TO_UINT(context_)); setenv("TIZEN_GLIB_CONTEXT", env.c_str(), 1); thread_ = std::thread([&] { -- 2.7.4