diff options
author | Stephen Hines <srhines@google.com> | 2014-06-25 00:03:39 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-06-25 00:03:39 -0700 |
commit | bc5d3eeedcbdff2e8331a6792902c6992db9bd31 (patch) | |
tree | d382f70716dc7f3c2dde5f0f61ad3331e66a0dcc | |
parent | 71dfc7e9accc1ca3cda52bdf475b03fa2a334e78 (diff) | |
download | frameworks_base-bc5d3eeedcbdff2e8331a6792902c6992db9bd31.zip frameworks_base-bc5d3eeedcbdff2e8331a6792902c6992db9bd31.tar.gz frameworks_base-bc5d3eeedcbdff2e8331a6792902c6992db9bd31.tar.bz2 |
Switch from size_t -> uint32_t for dimensions array.
Change-Id: I159586e98dd47be9b9f5db0f3e27d1072533134c
-rw-r--r-- | rs/jni/android_renderscript_RenderScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp index af2e3bf..5fe631b 100644 --- a/rs/jni/android_renderscript_RenderScript.cpp +++ b/rs/jni/android_renderscript_RenderScript.cpp @@ -1054,7 +1054,7 @@ nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint dimsLen = _env->GetArrayLength(dims) * sizeof(int); jint *dimsPtr = _env->GetIntArrayElements(dims, NULL); rsScriptSetVarVE((RsContext)con, (RsScript)script, slot, ptr, len, (RsElement)elem, - (const size_t*) dimsPtr, dimsLen); + (const uint32_t*) dimsPtr, dimsLen); _env->ReleaseByteArrayElements(data, ptr, JNI_ABORT); _env->ReleaseIntArrayElements(dims, dimsPtr, JNI_ABORT); } |