aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/resource.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-04 19:58:10 +0000
committerJohannes Schickel2009-12-04 19:58:10 +0000
commit4c6fdce020a4888c0a1bbac4fcc3f5848627b462 (patch)
tree4c16db310457c0e040055447b48ceb0ac8635ca9 /engines/saga/resource.cpp
parentad94de73d880116b02aa658765e9b32583463c96 (diff)
downloadscummvm-rg350-4c6fdce020a4888c0a1bbac4fcc3f5848627b462.tar.gz
scummvm-rg350-4c6fdce020a4888c0a1bbac4fcc3f5848627b462.tar.bz2
scummvm-rg350-4c6fdce020a4888c0a1bbac4fcc3f5848627b462.zip
Fix warning.
svn-id: r46260
Diffstat (limited to 'engines/saga/resource.cpp')
-rw-r--r--engines/saga/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/resource.cpp b/engines/saga/resource.cpp
index ff835694db..5009ee1a10 100644
--- a/engines/saga/resource.cpp
+++ b/engines/saga/resource.cpp
@@ -300,7 +300,7 @@ bool Resource::createContexts() {
!scumm_stricmp(curSoundFile->fileName, "voicess.cmp")) {
// IHNM has multiple voice files
for (size_t i = 1; i <= 6; i++) { // voices1-voices6
- sprintf(_voicesFileName[i], "voices%i.%s", i, curSoundFile->isCompressed ? "cmp" : "res");
+ sprintf(_voicesFileName[i], "voices%i.%s", (uint)i, curSoundFile->isCompressed ? "cmp" : "res");
if (i == 4) {
// The German and French versions of IHNM don't have Nimdok's chapter,
// therefore the voices file for that chapter is missing