Skip to content

Commit d22d2e3

Browse files
authored
[mlir][bytecode] fix on macos after #172901 (#173084)
`uint64_t` != `size_t` on macos (use `uint64_t` to match other uses in this impl)
1 parent ac387ce commit d22d2e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir/lib/Bytecode/Reader/BytecodeReader.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,9 @@ LogicalResult AttrTypeReader::initialize(
13501350
}
13511351

13521352
template <typename T>
1353-
T AttrTypeReader::resolveEntry(SmallVectorImpl<Entry<T>> &entries, size_t index,
1354-
StringRef entryType, uint64_t depth) {
1353+
T AttrTypeReader::resolveEntry(SmallVectorImpl<Entry<T>> &entries,
1354+
uint64_t index, StringRef entryType,
1355+
uint64_t depth) {
13551356
bool oldResolving = resolving;
13561357
resolving = true;
13571358
auto restoreResolving =

0 commit comments

Comments
 (0)