Updated MicroConf -> no more compiler warning.
authorStefan Westerfeld <stefan@space.twc.de>
Fri, 26 Nov 2010 18:49:25 +0000 (19:49 +0100)
committerStefan Westerfeld <stefan@space.twc.de>
Fri, 26 Nov 2010 18:49:25 +0000 (19:49 +0100)
src/microconf.cc

index 9f8d53d..37db946 100644 (file)
@@ -121,8 +121,8 @@ MicroConf::tokenize()
         {
           s += *i;
         }
-      else if (state == STRING && white_space (*i)
-           ||  state == QUOTED_STRING && *i == '"')
+      else if ((state == STRING && white_space (*i))
+           ||  (state == QUOTED_STRING && *i == '"'))
         {
           tokens.push_back (s);
           s = "";