Skip to content

Commit 8733969

Browse files
authored
[Runtime] Fix sign-compare warning in BytecodeLayouts (#67001)
1 parent 671e70d commit 8733969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/BytecodeLayouts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ inline static void handleRefCounts(const Metadata *metadata,
145145
std::forward<Params>(params)...)) {
146146
}
147147
} else {
148-
for (int i = 0; i < N; i++) {
148+
for (unsigned i = 0; i < N; i++) {
149149
handleNextRefCount<Handler>(metadata, reader, addrOffset,
150150
std::forward<Params>(params)...);
151151
}

0 commit comments

Comments
 (0)