aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2010-10-15 08:29:23 +0000
committerPaul Gilbert2010-10-15 08:29:23 +0000
commit63cb05135142a55a542d1bc0d65093017c6d73d2 (patch)
treed801342a8a82fb5a7f41ef8a6e6c6c4d7f094600 /engines
parentbd18e20f7d429c908a1adea943b5c8b1c9800a90 (diff)
downloadscummvm-rg350-63cb05135142a55a542d1bc0d65093017c6d73d2.tar.gz
scummvm-rg350-63cb05135142a55a542d1bc0d65093017c6d73d2.tar.bz2
scummvm-rg350-63cb05135142a55a542d1bc0d65093017c6d73d2.zip
LURE: Fix for #3087842 - Code analysis warnings
Only the warning for res_struct.cpp is valid to be fixed svn-id: r53469
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/res_struct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp
index a75ba6eac8..ffe46bbae1 100644
--- a/engines/lure/res_struct.cpp
+++ b/engines/lure/res_struct.cpp
@@ -875,7 +875,7 @@ CharacterScheduleEntry::CharacterScheduleEntry(CharacterScheduleEntry *src) {
_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) {