Fix FTBFS for x86_64 71/27271/5 accepted/tizen/ivi/20140915.154443 submit/tizen_ivi/20140915.131507
authorMikko Ylinen <mikko.ylinen@intel.com>
Tue, 9 Sep 2014 13:57:39 +0000 (16:57 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Mon, 15 Sep 2014 07:10:34 +0000 (00:10 -0700)
commit0917be365d275b9aaccf8d14b180ffa063fdc044
treef5ac4797b8d9c34c63dd3fe36e836654be67426e
parent93a61ad539fc07c2061ec3bb03058cfdf50509ac
Fix FTBFS for x86_64

In all cases, the build failure was caused by a 64bit
pointer being casted to an int and then int being used
in debug log formatting (%x).

Better solution is to use %p and cast pointers to
void *.

v2: do less casting
v3: use reinterpret_cast<>() anyway but change cast to intptr_t

Change-Id: I66e5cc2b3645210a675e27f8f82f7b12a81ac0e1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
lib/system-controller/CicoSCServer.cpp
lib/system-controller/CicoSCWayland.cpp
lib/system-controller/CicoSCWlWinMgrIF.cpp
src/homescreen/CicoHSMenuTile.cpp
src/homescreen/CicoHSMenuTouch.cpp
src/homescreen/CicoHSMenuWindow.cpp
src/homescreen/CicoHSServer.cpp
src/homescreen/CicoHSSwipeTouch.cpp
src/onscreen/CicoOSClient.cpp
src/onscreen/CicoOSPopWindow.cpp