diff options
author | Paul Gilbert | 2010-10-15 21:13:35 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-10-15 21:13:35 +0000 |
commit | e868dcd804ce053ca6813e8976570bdc042fead9 (patch) | |
tree | 99c43a06c36488a89594f2b89888c26c360c6e05 /engines | |
parent | 41e9691e86168ab9814aa9f2b15a0e35320c7a14 (diff) | |
download | scummvm-rg350-e868dcd804ce053ca6813e8976570bdc042fead9.tar.gz scummvm-rg350-e868dcd804ce053ca6813e8976570bdc042fead9.tar.bz2 scummvm-rg350-e868dcd804ce053ca6813e8976570bdc042fead9.zip |
LURE: Fix for #3087842 - Code analysis warnings
This is a somewhat cleaner version than my previous commit
svn-id: r53516
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/res_struct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index ffe46bbae1..9ef595b30f 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((byte *)src->_params, (byte *)src->_params + MAX_TELL_COMMANDS * 3 * sizeof(uint16), _params); + Common::copy(src->_params, src->_params + MAX_TELL_COMMANDS * 3, _params); } uint16 CharacterScheduleEntry::param(int index) { |