[Scummvm-git-logs] scummvm master -> 60365dc0dafa55e276cfca2fe92ff0917f9679ce

digitall dgturner at iee.org
Sat Nov 3 21:29:04 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
60365dc0da ANDROID: Fix a -Wformat-security warning


Commit: 60365dc0dafa55e276cfca2fe92ff0917f9679ce
    https://github.com/scummvm/scummvm/commit/60365dc0dafa55e276cfca2fe92ff0917f9679ce
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2018-11-03T20:29:01Z

Commit Message:
ANDROID: Fix a -Wformat-security warning

Changed paths:
    backends/platform/android/jni.cpp


diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp
index 3b84726..ed0999c 100644
--- a/backends/platform/android/jni.cpp
+++ b/backends/platform/android/jni.cpp
@@ -483,7 +483,7 @@ void JNI::setAudioStop() {
 void JNI::create(JNIEnv *env, jobject self, jobject asset_manager,
 				jobject egl, jobject egl_display,
 				jobject at, jint audio_sample_rate, jint audio_buffer_size) {
-	LOGI(gScummVMFullVersion);
+	LOGI("%s", gScummVMFullVersion);
 
 	assert(!_system);
 





More information about the Scummvm-git-logs mailing list