From b8e3dda84cd39f7bbd67c818acb42e7614bf7d02 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Mon, 12 Jan 2004 19:08:04 +0000 Subject: - whitespaces - fix for compilation at MAX, at include types - changed to our types svn-id: r12344 --- sword2/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2/function.cpp') diff --git a/sword2/function.cpp b/sword2/function.cpp index 701a57c9e4..83da75a184 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -614,7 +614,7 @@ int32 Logic::fnPlayCredits(int32 *params) { // credits. Note that musicTimeRemaining() will return 0 if the music // is muted, so we need a sensible fallback for that case. - uint32 musicLength = MAX(1000 * (_vm->_sound->musicTimeRemaining() - 3), 25 * scrollSteps); + uint32 musicLength = MAX(1000 * (_vm->_sound->musicTimeRemaining() - 3), 25 * (int32)scrollSteps); while (scrollPos < scrollSteps && !_vm->_quit) { bool foundStartLine = false; -- cgit v1.2.3