From bd5bbace3bd969c5c6e9f1d3bcce9f2acc015f46 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 5 Sep 2016 09:14:00 +0200 Subject: DEVTOOLS: Fix another warning --- devtools/create_titanic/create_titanic_dat.cpp | 4 ++-- 1 file 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()); -- cgit v1.2.3