fix warning

This commit is contained in:
IntelOrca 2016-02-29 22:54:01 +00:00
parent e57f27e1a1
commit 781d84dfa4
1 changed files with 2 additions and 2 deletions

View File

@ -474,8 +474,8 @@ static void window_multiplayer_groups_mouseup(rct_window *w, int widgetIndex)
break;
case WIDX_RENAME_GROUP:;
int groupIndex = network_get_group_index(_selectedGroup);
utf8 *groupName = network_get_group_name(groupIndex);
window_text_input_raw_open(w, widgetIndex, STR_GROUP_NAME, STR_ENTER_NEW_NAME_FOR_THIS_GROUP, groupName, 32);
const utf8 *groupName = network_get_group_name(groupIndex);
window_text_input_raw_open(w, widgetIndex, STR_GROUP_NAME, STR_ENTER_NEW_NAME_FOR_THIS_GROUP, (utf8*)groupName, 32);
break;
}
}