summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-03-20 16:54:03 -0700
committerTim Murray <timmurray@google.com>2013-03-20 16:58:32 -0700
commit099bc262f862cdeb547cf8a78fe9e0e92560f437 (patch)
tree53ce151f307ea059e2677e014ae402106e98e4ce /cpp
parent962e720b3d1c27bcfec90374ff393584b99577b3 (diff)
downloadrs-099bc262f862cdeb547cf8a78fe9e0e92560f437.tar.gz
Start making RS 64-bit clean.
Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Allocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/Allocation.cpp b/cpp/Allocation.cpp
index 43682255..7755f749 100644
--- a/cpp/Allocation.cpp
+++ b/cpp/Allocation.cpp
@@ -317,7 +317,7 @@ android::sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
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.");
}