git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9171
d7cf8633-e32d-0410-b094-
e92efae38249
}
stringlistfreecontents(&list);
- fs_all_gamedirs = Mem_Alloc(fs_mempool, list2.numstrings * sizeof(*fs_all_gamedirs));
+ fs_all_gamedirs = (gamedir_t *)Mem_Alloc(fs_mempool, list2.numstrings * sizeof(*fs_all_gamedirs));
for(i = 0; i < list2.numstrings; ++i)
{
info = FS_CheckGameDir(list2.strings[i]);
buf = FS_LoadFile (va("%s.framegroups", mod->name), tempmempool, false, &filesize);
if(buf)
{
- Mod_FrameGroupify(mod, buf);
+ Mod_FrameGroupify(mod, (const char *)buf);
Mem_Free(buf);
}