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

sev- sev at scummvm.org
Mon Sep 5 09:14:14 CEST 2016


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:
bd5bbace3b DEVTOOLS: Fix another warning


Commit: bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46
    https://github.com/scummvm/scummvm/commit/bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-05T09:14:00+02:00

Commit Message:
DEVTOOLS: Fix another warning

Changed paths:
    devtools/create_titanic/create_titanic_dat.cpp



diff --git a/devtools/create_titanic/create_titanic_dat.cpp b/devtools/create_titanic/create_titanic_dat.cpp
index 2706327..82285dc 100644
--- a/devtools/create_titanic/create_titanic_dat.cpp
+++ b/devtools/create_titanic/create_titanic_dat.cpp
@@ -1028,7 +1028,7 @@ void createScriptMap() {
 				break;
 		}
 
-		int v1, v2;
+		uint v1, v2;
 		sscanf(line, "%x %x", &v1, &v2);
 
 		if (counter != 0 && (counter % 3) == 0)
@@ -1036,7 +1036,7 @@ void createScriptMap() {
 		if ((counter % 3) == 0)
 			printf("\t");
 
-		printf("{ 0x%.5x, 0x%.5x }, ", (uint)v1, (uint)v2);
+		printf("{ 0x%.5x, 0x%.5x }, ", v1, v2);
 		++counter;
 	} while (!inFile.eof());
 





More information about the Scummvm-git-logs mailing list