diff options
author | 2013-12-19 00:30:25 +0000 | |
---|---|---|
committer | 2013-12-19 00:30:26 +0000 | |
commit | 7f8c70a1a48df91ee5541b03dc380c08ab6ebf42 (patch) | |
tree | 48118c5c5ad00e43235bbdfbf4ac4fc6f96fc0fa | |
parent | be8fbb8fb63fddac2310dfbafa2594ed165b16b1 (diff) | |
parent | 57cf560719e5cbe4ed52e54bb0556e6f79bbe061 (diff) |
Merge "DO NOT MERGE - Fix improper declaration/use of pointer."
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index cbc4e5a96a28..a4221dc99f1a 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -335,7 +335,7 @@ nContextSendMessage(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArr jint len = 0; if (data) { len = _env->GetArrayLength(data); - jint *ptr = _env->GetIntArrayElements(data, NULL); + ptr = _env->GetIntArrayElements(data, NULL); } LOG_API("nContextSendMessage, con(%p), id(%i), len(%i)", con, id, len); rsContextSendMessage(con, id, (const uint8_t *)ptr, len * sizeof(int)); |