Block type casting code to build 64 bit environment 20/40520/1 submit/tizen_mobile/20150605.000206 submit/tizen_tv/20150605.000212 submit/tizen_wearable/20150605.000219
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 4 Jun 2015 23:58:37 +0000 (08:58 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 4 Jun 2015 23:58:37 +0000 (08:58 +0900)
Change-Id: Idee437e54290eb785776578d1a76e53a10e5ac54
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-adapter.c

index ea9978133693c8addd8a0178b40f6d2e4ff7e6eb..987b2ea75e68a277ba07eff6326f6ebc65923cb5 100644 (file)
@@ -1154,7 +1154,15 @@ int bt_adapter_le_create_advertiser(bt_advertiser_h *advertiser)
                BT_ERR("OUT_OF_MEMORY(0x%08x)", BT_ERROR_OUT_OF_MEMORY);
                return BT_ERROR_OUT_OF_MEMORY;
        }
+
+/*   Need to fix the build error in x64 bit
+[  340s] /home/abuild/rpmbuild/BUILD/capi-network-bluetooth-0.1.52/src/bluetooth-adapter.c:1157:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
+[  340s]   __adv->handle = (int)__adv;
+*/
+
+#if 0
        __adv->handle = (int)__adv;
+#endif
 
        *advertiser = (bt_advertiser_h)__adv;