Skip to content

Commit ba7eda3

Browse files
wangzpgiclementval
andauthored
Update flang/lib/Lower/Bridge.cpp
Co-authored-by: Valentin Clement (バレンタイン クレメン) <[email protected]>
1 parent 576b8b7 commit ba7eda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
31103110
loc, 1); // Use index type directly
31113111

31123112
// Ensure lb, ub, and step are of index type using fir.convert
3113-
auto indexType = builder->getIndexType();
3113+
mlir::Type indexType = builder->getIndexType();
31143114
lb = builder->create<fir::ConvertOp>(loc, indexType, lb);
31153115
ub = builder->create<fir::ConvertOp>(loc, indexType, ub);
31163116
step = builder->create<fir::ConvertOp>(loc, indexType, step);

0 commit comments

Comments
 (0)