[Scummvm-git-logs] scummvm master -> fe654d221893a13c11415a95190070ae11c71e23

digitall dgturner at iee.org
Sun Oct 7 06:23:32 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fe654d2218 DEVTOOLS: Fix Compiler Warning in extract_mort tool.


Commit: fe654d221893a13c11415a95190070ae11c71e23
    https://github.com/scummvm/scummvm/commit/fe654d221893a13c11415a95190070ae11c71e23
Author: D G Turner (digitall at scummvm.org)
Date: 2018-10-07T05:31:46+01:00

Commit Message:
DEVTOOLS: Fix Compiler Warning in extract_mort tool.

Changed paths:
    devtools/extract_mort/extract_mort.cpp


diff --git a/devtools/extract_mort/extract_mort.cpp b/devtools/extract_mort/extract_mort.cpp
index 7e4003a..b4df533 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;





More information about the Scummvm-git-logs mailing list