Skip to content

Commit afae521

Browse files
committed
[Driver][NFC] Fix build warning with size comparison
1 parent fbd3675 commit afae521

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
@@ -6461,7 +6461,7 @@ class OffloadingActionBuilder final {
64616461
if (GpuInitHasErrors)
64626462
return true;
64636463

6464-
int GenIndex = 0;
6464+
size_t GenIndex = 0;
64656465
// Fill SYCLTargetInfoList
64666466
for (auto &TT : SYCLTripleList) {
64676467
auto TCIt = llvm::find_if(

0 commit comments

Comments
 (0)