git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10075
d7cf8633-e32d-0410-b094-
e92efae38249
}
else
{
- memcpy(&new_argv[0], &com_argv[0], sizeof(*com_argv) * com_argc);
+ memcpy((char *)(&new_argv[0]), &com_argv[0], sizeof(*com_argv) * com_argc);
}
p = buf;
while(COM_ParseToken_Console(&p))
memcpy((char **)prog->knownstrings_origin, oldstrings_origin, prog->numknownstrings * sizeof(char *));
}
if (oldstrings)
- Mem_Free(oldstrings);
+ Mem_Free((char **)oldstrings);
if (oldstrings_freeable)
Mem_Free((unsigned char *)oldstrings_freeable);
if (oldstrings_origin)
- Mem_Free(oldstrings_origin);
+ Mem_Free((char **)oldstrings_origin);
}
prog->numknownstrings++;
}