소스 검색

textopsx: fixed clang compile warning on comparing bool with char

Daniel-Constantin Mierla 10 년 전
부모
커밋
bc5ac8caee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/textopsx/textopsx.c

+ 1 - 1
modules/textopsx/textopsx.c

@@ -863,7 +863,7 @@ static int find_hf_value2_param(struct hname_data* hname, str* param_area, str*
 			while (i<param_area->len && is_space(param_area->s[i])) i++;
 		}
 		else {
-			while (i<param_area->len && !is_space(param_area->s[i]) && !param_area->s[i]!=',') i++;
+			while (i<param_area->len && !is_space(param_area->s[i]) && !(param_area->s[i]!=',')) i++;
 		}
 	}
 	lump_del->s = param_area->s + i;