fix warning on 32 bit compilation
This commit is contained in:
parent
c81a5d03c5
commit
ecabfc67b7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user