[Scummvm-cvs-logs] SF.net SVN: scummvm:[46178] scummvm/trunk/engines/kyra/resource_intern.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Nov 28 21:13:45 CET 2009
Revision: 46178
http://scummvm.svn.sourceforge.net/scummvm/?rev=46178&view=rev
Author: lordhoto
Date: 2009-11-28 20:13:45 +0000 (Sat, 28 Nov 2009)
Log Message:
-----------
Fix for bug #2905439 "AmigaOS: Recent Kryandia changes broke compilation".
Modified Paths:
--------------
scummvm/trunk/engines/kyra/resource_intern.cpp
Modified: scummvm/trunk/engines/kyra/resource_intern.cpp
===================================================================
--- scummvm/trunk/engines/kyra/resource_intern.cpp 2009-11-28 20:08:20 UTC (rev 46177)
+++ scummvm/trunk/engines/kyra/resource_intern.cpp 2009-11-28 20:13:45 UTC (rev 46178)
@@ -1247,7 +1247,7 @@
decodeHelper(i);
for (int i = 1; i <= 8192; i++) {
- int32 v = CLIP(_floatArray[i] + 128, 0, 255);
+ int32 v = CLIP<int32>(_floatArray[i] + 128, 0, 255);
_sndArray[i - 1] = v;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list