gcc warning

This commit is contained in:
Enno Rehling 2017-09-22 17:59:23 +02:00
parent 8ebd4c2066
commit f350b81d51
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ void read_allies(gamedata * data, faction *f)
ally * al = ally_add(sfp, NULL);
int state;
if ((al->faction = findfaction(aid)) == NULL) {
ur_add(RESOLVE_FACTION | aid, &al->faction, NULL);
ur_add(RESOLVE_FACTION | aid, (void **)&al->faction, NULL);
}
READ_INT(data->store, &state);
al->status = state & HELP_ALL;