c++: fix incompatible types
[awesomized/libmemcached] / clients / memstat.cc
index 793aab9b4d39eaabc63c96463ee1896becb6e28f..e5bac9165a26d171734b690589a110d334c17129 100644 (file)
@@ -426,7 +426,7 @@ static void options_parse(int argc, char *argv[])
       break;
 
     case OPT_ANALYZE: /* --analyze or -a */
-      opt_analyze= OPT_ANALYZE;
+      opt_analyze= true;
       analyze_mode= (optarg) ? strdup(optarg) : NULL;
       break;