summaryrefslogtreecommitdiff
path: root/rs/jni/android_renderscript_RenderScript.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2015-09-19 17:31:01 -0400
committerDaniel Micay <danielmicay@gmail.com>2015-09-22 17:10:35 -0400
commit76f6a86de25e1bf74717e047e55fd44b089673f3 (patch)
treec07e5cd58bcdd692593d6b7cd3edd40344ee4973 /rs/jni/android_renderscript_RenderScript.cpp
parent24ff6823c411f794aceaae89b0b029fbf8ef6b29 (diff)
constify JNINativeMethod function pointer tables
Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
Diffstat (limited to 'rs/jni/android_renderscript_RenderScript.cpp')
-rw-r--r--rs/jni/android_renderscript_RenderScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp
index d6854a292df7..e8b2043f1441 100644
--- a/rs/jni/android_renderscript_RenderScript.cpp
+++ b/rs/jni/android_renderscript_RenderScript.cpp
@@ -2504,7 +2504,7 @@ nSystemGetPointerSize(JNIEnv *_env, jobject _this) {
static const char *classPathName = "android/renderscript/RenderScript";
-static JNINativeMethod methods[] = {
+static const JNINativeMethod methods[] = {
{"_nInit", "()V", (void*)_nInit },
{"nDeviceCreate", "()J", (void*)nDeviceCreate },