mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
This commit is contained in:
parent
03422bc3c5
commit
eab608a575
|
@ -26,7 +26,7 @@ void config_reset()
|
|||
void config_set(const char *line)
|
||||
{
|
||||
char var_str[256];
|
||||
char *val_str = strchr(line, '=');
|
||||
char *val_str = (char *)strchr(line, '=');
|
||||
if (val_str)
|
||||
{
|
||||
memcpy(var_str, line, val_str - line);
|
||||
|
|
Loading…
Reference in a new issue