aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-21 23:30:32 +0100
committerGitHub2017-02-21 23:30:32 +0100
commit8216fd8ea6edaeb46983f04d00979d82de403dc1 (patch)
tree785f50b5ece7349a78cb7694dccddce520aa1c31 /backends/platform/wii/osystem.cpp
parente062c5ececf47e86e7b5e1292d988f2f327bb3f8 (diff)
parent6dd28d7cc15e721d15e720304dae76fca8bc653f (diff)
downloadscummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.tar.gz
scummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.tar.bz2
scummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.zip
Merge pull request #904 from AReim1982/DevKitPPC-R28
WII: Fix compiler warnings
Diffstat (limited to 'backends/platform/wii/osystem.cpp')
-rw-r--r--backends/platform/wii/osystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp
index ab2f2c6f0f..c2751f6ef4 100644
--- a/backends/platform/wii/osystem.cpp
+++ b/backends/platform/wii/osystem.cpp
@@ -229,21 +229,21 @@ void OSystem_Wii::lockMutex(MutexRef mutex) {
s32 res = LWP_MutexLock(*(mutex_t *)mutex);
if (res)
- printf("ERROR locking mutex %p (%d)\n", mutex, res);
+ printf("ERROR locking mutex %p (%ld)\n", mutex, res);
}
void OSystem_Wii::unlockMutex(MutexRef mutex) {
s32 res = LWP_MutexUnlock(*(mutex_t *)mutex);
if (res)
- printf("ERROR unlocking mutex %p (%d)\n", mutex, res);
+ printf("ERROR unlocking mutex %p (%ld)\n", mutex, res);
}
void OSystem_Wii::deleteMutex(MutexRef mutex) {
s32 res = LWP_MutexDestroy(*(mutex_t *)mutex);
if (res)
- printf("ERROR destroying mutex %p (%d)\n", mutex, res);
+ printf("ERROR destroying mutex %p (%ld)\n", mutex, res);
free(mutex);
}