commit | 099bc262f862cdeb547cf8a78fe9e0e92560f437 | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Wed Mar 20 16:54:03 2013 -0700 |
committer | Tim Murray <timmurray@google.com> | Wed Mar 20 16:58:32 2013 -0700 |
tree | 53ce151f307ea059e2677e014ae402106e98e4ce | |
parent | 962e720b3d1c27bcfec90374ff393584b99577b3 [diff] [blame] |
Start making RS 64-bit clean. Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
diff --git a/cpp/Allocation.cpp b/cpp/Allocation.cpp index 4368225..7755f74 100644 --- a/cpp/Allocation.cpp +++ b/cpp/Allocation.cpp
@@ -317,7 +317,7 @@ RsAllocationMipmapControl mips, uint32_t usage, void *pointer) { void *id = rsAllocationCreateTyped(rs->getContext(), type->getID(), mips, usage, - (uint32_t)pointer); + (uintptr_t)pointer); if (id == 0) { ALOGE("Allocation creation failed."); }