aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
diff options
context:
space:
mode:
authordhewg2011-02-19 18:26:57 +0100
committerdhewg2011-02-19 20:15:50 +0100
commit435069fe4a548fe872ab7df0c13df3726359e155 (patch)
treec4701e7d09d5fe8c651c3ac87bc8f8b4929da96a /backends/platform/android
parentfeb0efe767ce19c353b1b0ca2d0e8188b97ae740 (diff)
downloadscummvm-rg350-435069fe4a548fe872ab7df0c13df3726359e155.tar.gz
scummvm-rg350-435069fe4a548fe872ab7df0c13df3726359e155.tar.bz2
scummvm-rg350-435069fe4a548fe872ab7df0c13df3726359e155.zip
ANDROID: Supress warning
Diffstat (limited to 'backends/platform/android')
-rw-r--r--backends/platform/android/asset-archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/asset-archive.cpp b/backends/platform/android/asset-archive.cpp
index 3197c75b82..71ce25aa72 100644
--- a/backends/platform/android/asset-archive.cpp
+++ b/backends/platform/android/asset-archive.cpp
@@ -141,7 +141,7 @@ void JavaInputStream::close(JNIEnv *env) {
uint32 JavaInputStream::read(void *dataPtr, uint32 dataSize) {
JNIEnv *env = JNU_GetEnv();
- if (_buflen < dataSize) {
+ if (_buflen < jint(dataSize)) {
_buflen = dataSize;
env->DeleteGlobalRef(_buf);