From 4c6fdce020a4888c0a1bbac4fcc3f5848627b462 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 4 Dec 2009 19:58:10 +0000 Subject: Fix warning. svn-id: r46260 --- engines/saga/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/saga/resource.cpp') 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 -- cgit v1.2.3