Fix 64bit build error 88/90088/1 accepted/tizen/3.0/common/20161114.105315 accepted/tizen/3.0/ivi/20161011.065114 accepted/tizen/3.0/mobile/20161015.032816 accepted/tizen/3.0/tv/20161016.004206 accepted/tizen/3.0/wearable/20161015.082025 accepted/tizen/common/20160928.164437 accepted/tizen/ivi/20160930.083537 accepted/tizen/mobile/20160930.083457 accepted/tizen/tv/20160930.083529 accepted/tizen/wearable/20160930.083452 submit/tizen/20160928.072505 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 28 Sep 2016 08:47:58 +0000 (17:47 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 28 Sep 2016 08:48:31 +0000 (17:48 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I1004cac70d75711eb3b72b708761c26e5746af17

src/SEService.cpp
src/Session.cpp

index d810f44..2c9baa4 100755 (executable)
@@ -489,7 +489,7 @@ namespace smartcard_service_api
                        SECURE_LOGD("Reader : name [%s], handle [%08x]", name, handle);
 
                        /* add readers */
-                       reader = new Reader((void *)this->handle, name, GUINT_TO_POINTER(handle));
+                       reader = new Reader(GUINT_TO_POINTER(this->handle), name, GUINT_TO_POINTER(handle));
                        if (reader == NULL)
                        {
                                _ERR("alloc failed");
index 412bc6a..75b48a6 100644 (file)
@@ -174,7 +174,7 @@ namespace smartcard_service_api
                                /* create new instance of channel */
                                channel = new ClientChannel(session->context,
                                        session, channel_id,
-                                       response, (void *)channel_id);
+                                       response, GUINT_TO_POINTER(channel_id));
                                if (channel != NULL) {
                                        session->channels.push_back(channel);
                                } else {
@@ -439,7 +439,7 @@ namespace smartcard_service_api
                                        /* create new instance of channel */
                                        channel = new ClientChannel(context,
                                                this, channel_number,
-                                               response, (void *)channel_id);
+                                               response, GUINT_TO_POINTER(channel_id));
                                        if (channel != NULL)
                                        {
                                                channels.push_back(channel);