OSDN Git Service

Replace all instances of intptr_t with uintptr_t.
authorRiley Andrews <riandrews@google.com>
Tue, 13 Jan 2015 02:16:29 +0000 (18:16 -0800)
committerRiley Andrews <riandrews@google.com>
Tue, 13 Jan 2015 21:59:44 +0000 (21:59 +0000)
commit29d8cf91bed3c9f72a97046655bc3bdc05952d3a
treead83668cfd1b74ec25ea6111876e8d85190ce05a
parent50bcb00a9112b70183f7826675d8455cfd978e6a
Replace all instances of intptr_t with uintptr_t.

When compiling 32 bit binaries against a 64 bit binder interface,
implicit promotions of intptr_t types to uint64_t for fields in the
binder ioctl structures can result in invalid pointers because of sign
extension.
libs/binder/tests/binderDriverInterfaceTest.cpp