OSDN Git Service

fix gcc worring
authorRyuji Fuchikami <ryuz@users.sourceforge.jp>
Sat, 1 Mar 2014 02:40:53 +0000 (11:40 +0900)
committerRyuji Fuchikami <ryuz@users.sourceforge.jp>
Sat, 1 Mar 2014 02:40:53 +0000 (11:40 +0900)
cfgrtr/source/analyze.cpp

index 576e600..c827d14 100755 (executable)
@@ -4,7 +4,7 @@
  * @file  analyze.cpp
  * @brief  %jp{構文解析クラス}%en{lexer cless}
  *
  * @file  analyze.cpp
  * @brief  %jp{構文解析クラス}%en{lexer cless}
  *
- * Copyright (C) 1998-2010 by Project HOS
+ * Copyright (C) 1998-2014 by Project HOS
  * http://sourceforge.jp/projects/hos/
  */
 
  * http://sourceforge.jp/projects/hos/
  */
 
@@ -94,7 +94,7 @@ int CAnalyze::SearchChar(char* pszBuf, const char* &pszText, char c)
                }
 
                // 文字列開始チェック
                }
 
                // 文字列開始チェック
-               if ( !blText && *pszText == '\"' || *pszText == '\'' )
+               if ( (!blText && *pszText == '\"') || *pszText == '\'' )
                {
                        cDelimiter = *pszText;
                        *pszBuf++ = *pszText++;
                {
                        cDelimiter = *pszText;
                        *pszBuf++ = *pszText++;