fix msvc6 warnings
authorRoyce Mitchell III <royce3@ev1.net>
Thu, 5 Jan 2006 16:32:49 +0000 (16:32 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Thu, 5 Jan 2006 16:32:49 +0000 (16:32 +0000)
svn path=/trunk/; revision=20583

reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp

index c39f840..2608b22 100644 (file)
@@ -243,8 +243,8 @@ MSVCBackend::_generate_vcproj ( const Module& module )
        {\r
                std::string& cfg = cfgs[icfg];\r
 \r
-               bool debug = strstr ( cfg.c_str(), "Debug" );\r
-               bool speed = strstr ( cfg.c_str(), "Speed" );\r
+               bool debug = strstr ( cfg.c_str(), "Debug" ) != NULL;\r
+               bool speed = strstr ( cfg.c_str(), "Speed" ) != NULL;\r
                bool release = (!debug && !speed );\r
 \r
                //bool msvc_headers = ( 0 != strstr ( cfg.c_str(), "MSVC Headers" ) );\r