diff options
author | Andy Hung <hunga@google.com> | 2014-05-19 21:18:18 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2014-05-19 21:18:18 -0700 |
commit | 989540264ab553109a272459339c03015fca9197 (patch) | |
tree | bf1d78f2bc43726789e9317cd24673939a16b398 /media | |
parent | 07d5e7d5fa971c60776fe6388467b77e7d3f1970 (diff) | |
download | frameworks_base-989540264ab553109a272459339c03015fca9197.zip frameworks_base-989540264ab553109a272459339c03015fca9197.tar.gz frameworks_base-989540264ab553109a272459339c03015fca9197.tar.bz2 |
Fix 64 bit long pointer size for media scanning
Bug: 14993718
Change-Id: I98989caddcca67c2b3257cead948382fddb066da
Diffstat (limited to 'media')
-rw-r--r-- | media/jni/android_media_MediaScanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/jni/android_media_MediaScanner.cpp b/media/jni/android_media_MediaScanner.cpp index 84028b7..d21b442 100644 --- a/media/jni/android_media_MediaScanner.cpp +++ b/media/jni/android_media_MediaScanner.cpp @@ -351,7 +351,7 @@ android_media_MediaScanner_extractAlbumArt( if (!data) { return NULL; } - long len = *((long*)data); + jsize len = *((uint32_t*)data); jbyteArray array = env->NewByteArray(len); if (array != NULL) { |