diff options
-rw-r--r-- | backends/platform/android/asset-archive.cpp | 2 |
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); |