Fixed warnings

This commit is contained in:
Robert Osfield
2009-01-07 11:24:47 +00:00
parent 98bd058317
commit 418dc34776
43 changed files with 67 additions and 65 deletions

View File

@@ -695,9 +695,9 @@ static void appendInstallationLibraryFilePaths(osgDB::FilePathList& filepath)
// path specified by the App Paths registry key.
filenamechar* ptr;
#ifdef OSG_USE_UTF8_FILENAME
if (ptr = _wgetenv(OSGDB_FILENAME_TEXT("PATH")))
if ((ptr = _wgetenv(OSGDB_FILENAME_TEXT("PATH"))))
#else
if (ptr = getenv("PATH"))
if ((ptr = getenv("PATH")))
#endif
{
// Note that on any sane Windows system, some of the paths above