MSVC8/VS2005 Compiling Fixes - 0 errors, 0 warnings. Hurray!

This commit is contained in:
Scott Ehlert
2006-04-06 12:56:45 +00:00
parent ec51566abe
commit f2d21c410b
13 changed files with 275 additions and 575 deletions

View File

@ -814,14 +814,14 @@ void ConvertModuleName(const char *pathString, String &path)
}
}
#else
char *ptr = strstr(pathString, ".dll");
char *ptr = const_cast<char*>(strstr(pathString, ".dll"));
if (ptr)
{
path.assign(pathString);
} else {
//prevent this from loading .so too
ptr = strstr(pathString, ".so");
ptr = const_cast<char*>(strstr(pathString, ".so"));
if (ptr)
{