Commit aa043d73 authored by unknown's avatar unknown

Use my_snprintf instead of snprintf

parent 4dc441d3
...@@ -1321,7 +1321,7 @@ void var_set_string(const char* name, const char* value) ...@@ -1321,7 +1321,7 @@ void var_set_string(const char* name, const char* value)
void var_set_int(const char* name, int value) void var_set_int(const char* name, int value)
{ {
char buf[21]; char buf[21];
snprintf(buf, sizeof(buf), "%d", value); my_snprintf(buf, sizeof(buf), "%d", value);
var_set_string(name, buf); 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