Skip to content

Commit 7b9615c

Browse files
authored
[Driver][NFC] Fix build warning with size comparison (#15860)
1 parent a8a4e4a commit 7b9615c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6517,7 +6517,7 @@ class OffloadingActionBuilder final {
65176517
if (GpuInitHasErrors)
65186518
return true;
65196519

6520-
int GenIndex = 0;
6520+
size_t GenIndex = 0;
65216521
// Fill SYCLTargetInfoList
65226522
for (auto &TT : SYCLTripleList) {
65236523
auto TCIt = llvm::find_if(

0 commit comments

Comments
 (0)