[flang] fix signed/unsigned comparison

Original-commit: flang-compiler/f18@46148712e1
Tree-same-pre-rewrite: false
This commit is contained in:
Jean Perier 2019-03-01 05:50:06 -08:00 committed by GitHub
parent 4fdf4fa18d
commit a955f3e51c

View file

@ -207,7 +207,7 @@ static inline Expr<TR> FoldElementalIntrinsicHelper(FoldingContext &context,
}
}
}
CHECK(rank == shape.size());
CHECK(rank == static_cast<int>(shape.size()));
// Compute all the scalar values of the results
std::size_t size{1};