diff options
author | Tim Murray <timmurray@google.com> | 2013-03-20 16:54:03 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2013-03-20 16:58:32 -0700 |
commit | 099bc262f862cdeb547cf8a78fe9e0e92560f437 (patch) | |
tree | 53ce151f307ea059e2677e014ae402106e98e4ce /cpu_ref/rsCpuIntrinsicBlur.cpp | |
parent | 962e720b3d1c27bcfec90374ff393584b99577b3 (diff) | |
download | rs-099bc262f862cdeb547cf8a78fe9e0e92560f437.tar.gz |
Start making RS 64-bit clean.
Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
Diffstat (limited to 'cpu_ref/rsCpuIntrinsicBlur.cpp')
-rw-r--r-- | cpu_ref/rsCpuIntrinsicBlur.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp index 58565f18..d6f88986 100644 --- a/cpu_ref/rsCpuIntrinsicBlur.cpp +++ b/cpu_ref/rsCpuIntrinsicBlur.cpp @@ -189,7 +189,7 @@ static void OneVFU1(float *out, int len = x2 - x1; - while((x2 > x1) && (((int)ptrIn) & 0x3)) { + while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { const uchar *pi = ptrIn; float blurredPixel = 0; const float* gp = gPtr; @@ -359,7 +359,7 @@ void RsdCpuScriptIntrinsicBlur::kernelU1(const RsForEachStubParamStruct *p, x1 = xstart; while ((x1 < x2) && - ((x1 < (uint32_t)cp->mIradius) || (((int)out) & 0x3))) { + ((x1 < (uint32_t)cp->mIradius) || (((uintptr_t)out) & 0x3))) { OneHU1(p, out, x1, buf, cp->mFp, cp->mIradius); out++; x1++; |