Merge "DO NOT MERGE - Fix improper declaration/use of pointer."
This commit is contained in:
@@ -335,7 +335,7 @@ nContextSendMessage(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArr
|
|||||||
jint len = 0;
|
jint len = 0;
|
||||||
if (data) {
|
if (data) {
|
||||||
len = _env->GetArrayLength(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);
|
LOG_API("nContextSendMessage, con(%p), id(%i), len(%i)", con, id, len);
|
||||||
rsContextSendMessage(con, id, (const uint8_t *)ptr, len * sizeof(int));
|
rsContextSendMessage(con, id, (const uint8_t *)ptr, len * sizeof(int));
|
||||||
|
|||||||
Reference in New Issue
Block a user