Remove a C style cast.
Change-Id: I0d9aab958ef5fdc4a4497b6364db415f5f32eb3c
diff --git a/runtime/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc
index 5943a6a..1cc42df 100644
--- a/runtime/native/dalvik_system_VMDebug.cc
+++ b/runtime/native/dalvik_system_VMDebug.cc
@@ -243,7 +243,7 @@
// as PSS, private/shared dirty/shared data are available via
// /proc/<pid>/smaps.
static void VMDebug_getHeapSpaceStats(JNIEnv* env, jclass, jlongArray data) {
- jlong* arr = (jlong*) env->GetPrimitiveArrayCritical(data, 0);
+ jlong* arr = reinterpret_cast<jlong*>(env->GetPrimitiveArrayCritical(data, 0));
if (arr == NULL || env->GetArrayLength(data) < 9) {
return;
}