Use my_snprintf instead of snprintf

parent e9a9107f
......@@ -1321,7 +1321,7 @@ void var_set_string(const char* name, const char* value)
void var_set_int(const char* name, int value)
{
char buf[21];
snprintf(buf, sizeof(buf), "%d", value);
my_snprintf(buf, sizeof(buf), "%d", value);
var_set_string(name, buf);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment