Resolved a compile error for CentOS (fixes #1190)

* Send a 0 instead of NULL to the va_list when freeing item groups.
This commit is contained in:
aleos89 2016-05-13 13:59:27 -04:00
parent 9cd7e595cf
commit ca049a66f4

View File

@ -615,7 +615,7 @@ static void itemdb_read_itemgroup_sub(const char* filename, bool silent)
// Remove from DB
if (strcmpi(str[1], "clear") == 0 && itemdb_group->remove(itemdb_group, db_ui2key(group_id), &data)) {
itemdb_group_free(db_ui2key(group_id), &data, NULL);
itemdb_group_free(db_ui2key(group_id), &data, 0);
ShowNotice("Item Group '%s' has been cleared.\n", str[0]);
continue;
}