diff options
author | Joost Peters | 2009-08-14 16:44:29 +0000 |
---|---|---|
committer | Joost Peters | 2009-08-14 16:44:29 +0000 |
commit | a68b033a534febe4292fa8197a51e592d6977952 (patch) | |
tree | c5e48fb817976b0a06c26d1ffb0894881324df35 /engines | |
parent | 6fae9bc3f44a8579fbf08a885ac7db517868ee02 (diff) | |
download | scummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.tar.gz scummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.tar.bz2 scummvm-rg350-a68b033a534febe4292fa8197a51e592d6977952.zip |
Fix incorrect memset() call (reported by Peter Bortas).
svn-id: r43375
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/scene.cpp b/engines/tinsel/scene.cpp index 0b563376f8..a9ad9617c0 100644 --- a/engines/tinsel/scene.cpp +++ b/engines/tinsel/scene.cpp @@ -132,7 +132,7 @@ const SCENE_STRUC *GetSceneStruc(const byte *pStruc) { // Copy appropriate fields into tempStruc, and return a pointer to it const byte *p = pStruc; - memset(&tempStruc, sizeof(SCENE_STRUC), 0); + memset(&tempStruc, 0, sizeof(SCENE_STRUC)); tempStruc.numEntrance = READ_UINT32(p); p += sizeof(uint32); tempStruc.numPoly = READ_UINT32(p); p += sizeof(uint32); |