Author: sebor
Date: Fri Aug  3 14:11:24 2007
New Revision: 562581

URL: http://svn.apache.org/viewvc?view=rev&rev=562581
Log:
2007-08-03  Martin Sebor  <[EMAIL PROTECTED]>

        * cmdopt.cpp (parse_limit_opts): Silenced silly MSVC "performance"
        warnings about converting int to bool.

Modified:
    incubator/stdcxx/trunk/util/cmdopt.cpp

Modified: incubator/stdcxx/trunk/util/cmdopt.cpp
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/cmdopt.cpp?view=diff&rev=562581&r1=562580&r2=562581
==============================================================================
--- incubator/stdcxx/trunk/util/cmdopt.cpp (original)
+++ incubator/stdcxx/trunk/util/cmdopt.cpp Fri Aug  3 14:11:24 2007
@@ -353,8 +353,8 @@
 
                 /* determine whether the hard limit and/or the soft limit
                    should be set. */
-                const bool hard = isupper (arg [0]);
-                const bool soft = islower (arg [1]);
+                const bool hard = 0 != isupper (arg [0]);
+                const bool soft = 0 != islower (arg [1]);
 
                 arg += limits [i].len + 1;
 


Reply via email to