fix warning on 32 bit compilation

This commit is contained in:
Maxime Coste 2015-03-11 20:52:17 +00:00
parent c81a5d03c5
commit ecabfc67b7

View File

@ -113,7 +113,7 @@ String to_string(int val)
String to_string(size_t val)
{
char buf[16];
sprintf(buf, "%lu", val);
sprintf(buf, "%lu", (unsigned long)val);
return buf;
}