[flang] Fix -Wsign-compare in check-call.cpp (NFC)
authorJie Fu <jiefu@tencent.com>
Tue, 4 Apr 2023 14:50:55 +0000 (22:50 +0800)
committerJie Fu <jiefu@tencent.com>
Tue, 4 Apr 2023 14:52:13 +0000 (22:52 +0800)
commita8f1185a7fdee4183a544370dfbb485b31d4077a
tree68b1624f5a9eeb2bb462f52913e15539b4672814
parent74cc4389f37d753bf07f1b4a4a4c5e09433d9231
[flang] Fix -Wsign-compare in check-call.cpp (NFC)

/data/llvm-project/flang/lib/Semantics/check-call.cpp:1234:29: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
  CHECK(index >= 0 && index < actuals.size());
                      ~~~~~ ^ ~~~~~~~~~~~~~~
/data/llvm-project/flang/include/flang/Common/idioms.h:89:20: note: expanded from macro 'CHECK'
                   ^
1 error generated.
flang/lib/Semantics/check-call.cpp