From: Ryan C. Gordon Date: Fri, 14 May 2010 03:32:48 +0000 (-0400) Subject: Fixed another printf() format string issue. X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=632e2b65b7e3a0fd5e526b5bf5c28ce44371f2f6;p=lugaru.git Fixed another printf() format string issue. --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index b6378d1..2534d7c 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -3270,7 +3270,7 @@ void Game::Tick() //longnum = 1111111111111111; num1 = longnum/100000000; num2 = longnum%100000000; - sprintf (tempstring, "%d-%d-%d-%d\0\0\0\0\0", num1/10000, num1%10000, num2/10000, num2%10000); + sprintf (tempstring, "%ld-%ld-%ld-%ld\0\0\0\0\0", num1/10000, num1%10000, num2/10000, num2%10000); int goodcode=3; int numchars=3;