From b560ff5fb7089dec778fd5dd6cf8dca0e77cd842 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Wed, 4 May 2011 14:18:16 +0000 Subject: [PATCH] Fix warning from cccd6849a7 This was SVN commit r9426. --- source/ps/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/Preprocessor.cpp b/source/ps/Preprocessor.cpp index 6d1e91395c..38e83ec924 100644 --- a/source/ps/Preprocessor.cpp +++ b/source/ps/Preprocessor.cpp @@ -151,7 +151,7 @@ bool CPreprocessor::Token::GetValue (long &oValue) const void CPreprocessor::Token::SetValue (long iValue) { char tmp [21]; - int len = snprintf (tmp, sizeof (tmp), "%lld", iValue); + int len = snprintf (tmp, sizeof (tmp), "%ld", iValue); Length = 0; Append (tmp, len); Type = TK_NUMBER;