Skip to content

Commit 5dd1421

Browse files
committed
[NFC] Fix a compile warning of comparison of integers of different signs
1 parent d865f32 commit 5dd1421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ void ModuleSanitizerCoverage::InjectCoverageAtBlock(Function &F, BasicBlock &BB,
10961096

10971097
if (Options.StackDepthCallbackMin) {
10981098
// In callback mode, only add call when stack depth reaches minimum.
1099-
uint32_t EstimatedStackSize = 0;
1099+
int EstimatedStackSize = 0;
11001100
// If dynamic alloca found, always add call.
11011101
bool HasDynamicAlloc = false;
11021102
// Find an insertion point after last "alloca".

0 commit comments

Comments
 (0)