fix msvc6 warnings
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
_____
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2006-01-05 16:30:20 UTC (rev 20582)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2006-01-05 16:32:49 UTC (rev 20583)
@@ -243,8 +243,8 @@
{
std::string& cfg = cfgs[icfg];
- bool debug = strstr ( cfg.c_str(), "Debug" );
- bool speed = strstr ( cfg.c_str(), "Speed" );
+ bool debug = strstr ( cfg.c_str(), "Debug" ) != NULL;
+ bool speed = strstr ( cfg.c_str(), "Speed" ) != NULL;
bool release = (!debug && !speed );
//bool msvc_headers = ( 0 != strstr ( cfg.c_str(), "MSVC
Headers" ) );
Show replies by date