[flang] Fix flang GCC Buildbot broken by D130731
authorMarkus Böck <markus.boeck02@gmail.com>
Mon, 1 Aug 2022 20:15:36 +0000 (22:15 +0200)
committerMarkus Böck <markus.boeck02@gmail.com>
Mon, 1 Aug 2022 20:15:45 +0000 (22:15 +0200)
commit71d4a5502f76ccf3b37816628a2300937fafd90b
tree084c5269dfae036387852c93b7679e32263aa886
parentf6690303732e04f43715799154f86999b49c8cff
[flang] Fix flang GCC Buildbot broken by D130731

GCC and that specific build bot issued warnings turned errors, due to a narrowing conversion from `unsigned` to `int32_t`. Silence these via a static_cast.
flang/lib/Optimizer/CodeGen/CodeGen.cpp