OSDN Git Service

libandroidfw: fix build error for 64-bit
authorPatrik Bannura <patrik.bannura@sonymobile.com>
Wed, 12 Feb 2014 12:38:54 +0000 (13:38 +0100)
committerNarayan Kamath <narayan@google.com>
Thu, 20 Feb 2014 10:06:23 +0000 (10:06 +0000)
commit443dd9313f06ec61abc9fee908f6e693d1091590
treeed5a2ff68a63ec8827d19dfdddb46d8d5fad0796
parent60097a9c5a7214cb73d0bc966adef767743f8798
libandroidfw: fix build error for 64-bit

Fixed casting int to pointer in logging code.
Previously ints where printed as pointers and
the %p format specifier was used for convenience
to get hex output. This change uses %x and also
gets rid of the casts.

Change-Id: Ia2539769d245f50c0f3884119f80682defe69d61
libs/androidfw/ResourceTypes.cpp