aboutsummaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-05 09:14:00 +0200
committerEugene Sandulenko2016-09-05 09:14:00 +0200
commitbd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46 (patch)
treeef375b3c70afe8ce2b1d729109690ea430a37497 /devtools
parent39ce7bc7ff5d4f917e4bf1e870d27a774a6bf25d (diff)
downloadscummvm-rg350-bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46.tar.gz
scummvm-rg350-bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46.tar.bz2
scummvm-rg350-bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46.zip
DEVTOOLS: Fix another warning
Diffstat (limited to 'devtools')
-rw-r--r--devtools/create_titanic/create_titanic_dat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_titanic/create_titanic_dat.cpp b/devtools/create_titanic/create_titanic_dat.cpp
index 270632744b..82285dc928 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());