소스 검색

Merge pull request #13136 from shamser/issue23050fix

HPCC-23050 Fix comparing unsigned < 0

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 년 전
부모
커밋
f0828061c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      common/wuanalysis/anacommon.cpp

+ 1 - 1
common/wuanalysis/anacommon.cpp

@@ -90,7 +90,7 @@ void PerformanceIssue::setLocation(const char * definition)
         filename.append(p1-definition, definition);
     line = atoi(p1+1);
     column = atoi(comma+1);
-    if (line < 0 || column < 0)
+    if (line==0 || column==0)
     {
         line=0;
         column=0;