[Scummvm-cvs-logs] SF.net SVN: scummvm:[53469] scummvm/trunk/engines/lure/res_struct.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Fri Oct 15 10:29:23 CEST 2010
Revision: 53469
http://scummvm.svn.sourceforge.net/scummvm/?rev=53469&view=rev
Author: dreammaster
Date: 2010-10-15 08:29:23 +0000 (Fri, 15 Oct 2010)
Log Message:
-----------
LURE: Fix for #3087842 - Code analysis warnings
Only the warning for res_struct.cpp is valid to be fixed
Modified Paths:
--------------
scummvm/trunk/engines/lure/res_struct.cpp
Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp 2010-10-15 06:16:27 UTC (rev 53468)
+++ scummvm/trunk/engines/lure/res_struct.cpp 2010-10-15 08:29:23 UTC (rev 53469)
@@ -875,7 +875,7 @@
_parent = src->_parent;
_action = src->_action;
_numParams = src->_numParams;
- Common::copy(src->_params, src->_params + MAX_TELL_COMMANDS * 3 * sizeof(uint16), _params);
+ Common::copy((byte *)src->_params, (byte *)src->_params + MAX_TELL_COMMANDS * 3 * sizeof(uint16), _params);
}
uint16 CharacterScheduleEntry::param(int index) {
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