From 632e2b65b7e3a0fd5e526b5bf5c28ce44371f2f6 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 13 May 2010 23:32:48 -0400 Subject: [PATCH] Fixed another printf() format string issue. --- Source/GameTick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5