From: SeokYeon Hwang Date: Wed, 11 Mar 2015 08:04:59 +0000 (+0900) Subject: skin: fix compilation warnings on 64bit host X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~543 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b5c8f3bfae1437b747830725c88d013f3c8bf68;p=sdk%2Femulator%2Fqemu.git skin: fix compilation warnings on 64bit host Change-Id: I844fb369a50437e8eaceff8babb556a1a297bbb2 Signed-off-by: SeokYeon Hwang --- diff --git a/tizen/src/skin/maruskin_operation.c b/tizen/src/skin/maruskin_operation.c index 24027f9dd1..6fde27fc39 100644 --- a/tizen/src/skin/maruskin_operation.c +++ b/tizen/src/skin/maruskin_operation.c @@ -621,7 +621,8 @@ void shutdown_qemu_gracefully(unsigned int sec) INFO("shutdown_qemu_gracefully was called\n"); QemuThread thread_id; qemu_thread_create(&thread_id, "shutdown_thread", - run_timed_shutdown_thread, (void *)sec, QEMU_THREAD_DETACHED); + run_timed_shutdown_thread, (void *)(uintptr_t)sec, + QEMU_THREAD_DETACHED); } else { INFO("shutdown_qemu_gracefully was called twice\n"); qemu_system_shutdown_request(); @@ -638,7 +639,7 @@ static void* run_timed_shutdown_thread(void* args) send_shutdown_to_emuld(); const int sleep_interval_time = 1000; /* milli-seconds */ - const int timeout_for_shutdown = (const int)args; + const int timeout_for_shutdown = (uintptr_t)args; int i; for (i = 0; i < timeout_for_shutdown; i++) {