aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2018-10-07 05:31:46 +0100
committerD G Turner2018-10-07 05:31:46 +0100
commitfe654d221893a13c11415a95190070ae11c71e23 (patch)
treefc03a9c6d4d04826710645149201db768b900ff9
parent7956c75e8e91e96df075d59152da493d3414d0f8 (diff)
downloadscummvm-rg350-fe654d221893a13c11415a95190070ae11c71e23.tar.gz
scummvm-rg350-fe654d221893a13c11415a95190070ae11c71e23.tar.bz2
scummvm-rg350-fe654d221893a13c11415a95190070ae11c71e23.zip
DEVTOOLS: Fix Compiler Warning in extract_mort tool.
-rw-r--r--devtools/extract_mort/extract_mort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/extract_mort/extract_mort.cpp b/devtools/extract_mort/extract_mort.cpp
index 7e4003a8c6..b4df533150 100644
--- a/devtools/extract_mort/extract_mort.cpp
+++ b/devtools/extract_mort/extract_mort.cpp
@@ -361,7 +361,7 @@ static void import_strings(const char *textFilename) {
// Set up a buffer for the output compressed strings
uint16 strData[BUFFER_SIZE];
- memset(strData, 0, BUFFER_SIZE);
+ memset(strData, 0, BUFFER_SIZE*sizeof(uint16));
char sLine[BUFFER_SIZE];
int indis = 0;