Skip to content

Commit

Permalink
DEVTOOLS: Fix another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 5, 2016
1 parent 39ce7bc commit bd5bbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devtools/create_titanic/create_titanic_dat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,15 +1028,15 @@ void createScriptMap() {
break;
}

int v1, v2;
uint v1, v2;
sscanf(line, "%x %x", &v1, &v2);

if (counter != 0 && (counter % 3) == 0)
printf("\r\n");
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());

Expand Down

0 comments on commit bd5bbac

Please sign in to comment.