1
0
forked from 0ad/0ad

Fix warning from cccd6849a7

This was SVN commit r9426.
This commit is contained in:
Ykkrosh 2011-05-04 14:18:16 +00:00
parent 9719432ff9
commit b560ff5fb7

View File

@ -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;