Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2529)

Unified Diff: base/android/jni_array.cc

Issue 1543293003: Switch to standard integer types in base/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/jni_array.h ('k') | base/android/jni_array_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_array.cc
diff --git a/base/android/jni_array.cc b/base/android/jni_array.cc
index e4f3f0bfcceda15c3048da2425259331dff74012..af8f5d20d6d4050e425ca6891c708292934e1595 100644
--- a/base/android/jni_array.cc
+++ b/base/android/jni_array.cc
@@ -169,7 +169,7 @@ void AppendJavaByteArrayToByteVector(JNIEnv* env,
size_t back = out->size();
out->resize(back + len);
env->GetByteArrayRegion(byte_array, 0, len,
- reinterpret_cast<int8*>(&(*out)[back]));
+ reinterpret_cast<int8_t*>(&(*out)[back]));
}
void JavaByteArrayToByteVector(JNIEnv* env,
« no previous file with comments | « base/android/jni_array.h ('k') | base/android/jni_array_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698