1
0
forked from 0ad/0ad

fix of VC2k5 fix (both pointers to tokenized string are now char*)

This was SVN commit r1186.
This commit is contained in:
janwas 2004-09-22 00:46:12 +00:00
parent 4a7757dac6
commit c28c5a1beb

View File

@ -469,7 +469,7 @@ static int tree_lookup(const char* _c_path, const Loc** const loc = 0, Dir** con
for(;;)
{
// "extract" cur_component string (0-terminate by replacing '/')
char* slash = strchr(cur_component, '/');
char* slash = (char*)strchr(cur_component, '/');
if(slash)
*slash = 0;