[Scummvm-git-logs] scummvm master -> 34534484b4573fa0854a741386e44ceeb464d62d

AReim1982 alexander at areim.de
Thu Sep 24 09:45:50 UTC 2020


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:
34534484b4 WII: Fix warnings


Commit: 34534484b4573fa0854a741386e44ceeb464d62d
    https://github.com/scummvm/scummvm/commit/34534484b4573fa0854a741386e44ceeb464d62d
Author: Alexander Reim (alexander at areim.de)
Date: 2020-09-24T11:45:40+02:00

Commit Message:
WII: Fix warnings

Changed paths:
    backends/platform/wii/osystem.cpp
    backends/platform/wii/osystem_events.cpp
    backends/platform/wii/osystem_sfx.cpp


diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp
index 61f05eeeb5..7602e66479 100644
--- a/backends/platform/wii/osystem.cpp
+++ b/backends/platform/wii/osystem.cpp
@@ -238,21 +238,21 @@ void OSystem_Wii::lockMutex(MutexRef mutex) {
 	s32 res = LWP_MutexLock(*(mutex_t *)mutex);
 
 	if (res)
-		printf("ERROR locking mutex %p (%ld)\n", mutex, res);
+		printf("ERROR locking mutex %p (%d)\n", mutex, res);
 }
 
 void OSystem_Wii::unlockMutex(MutexRef mutex) {
 	s32 res = LWP_MutexUnlock(*(mutex_t *)mutex);
 
 	if (res)
-		printf("ERROR unlocking mutex %p (%ld)\n", mutex, res);
+		printf("ERROR unlocking mutex %p (%d)\n", mutex, res);
 }
 
 void OSystem_Wii::deleteMutex(MutexRef mutex) {
 	s32 res = LWP_MutexDestroy(*(mutex_t *)mutex);
 
 	if (res)
-		printf("ERROR destroying mutex %p (%ld)\n", mutex, res);
+		printf("ERROR destroying mutex %p (%d)\n", mutex, res);
 
 	free(mutex);
 }
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp
index ae9c27f03b..ed75d541b8 100644
--- a/backends/platform/wii/osystem_events.cpp
+++ b/backends/platform/wii/osystem_events.cpp
@@ -172,7 +172,7 @@ void OSystem_Wii::initEvents() {
 									TIMER_THREAD_PRIO);
 
 		if (res) {
-			printf("ERROR creating timer thread: %ld\n", res);
+			printf("ERROR creating timer thread: %d\n", res);
 			LWP_CloseQueue(timer_queue);
 		}
 
diff --git a/backends/platform/wii/osystem_sfx.cpp b/backends/platform/wii/osystem_sfx.cpp
index ea7dc9e398..45abbedaff 100644
--- a/backends/platform/wii/osystem_sfx.cpp
+++ b/backends/platform/wii/osystem_sfx.cpp
@@ -87,7 +87,7 @@ void OSystem_Wii::initSfx() {
 									SFX_THREAD_STACKSIZE, SFX_THREAD_PRIO);
 
 		if (res) {
-			printf("ERROR creating sfx thread: %ld\n", res);
+			printf("ERROR creating sfx thread: %d\n", res);
 			LWP_CloseQueue(sfx_queue);
 			return;
 		}




More information about the Scummvm-git-logs mailing list