Skip to content

Commit 31bd4f6

Browse files
authored
Merge pull request #13389 from Pospelove/patch-1
Fix "signed/unsigned mismatch" warnings (MSVC)
2 parents a78a2bc + 32aa000 commit 31bd4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libyul/optimiser/FullInliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ bool FullInliner::shallInline(FunctionCall const& _funCall, YulString _callSite)
224224
break;
225225
}
226226

227-
return (size < (aggressiveInlining ? 8 : 6) || (constantArg && size < (aggressiveInlining ? 16 : 12)));
227+
return (size < (aggressiveInlining ? 8u : 6u) || (constantArg && size < (aggressiveInlining ? 16u : 12u)));
228228
}
229229

230230
void FullInliner::tentativelyUpdateCodeSize(YulString _function, YulString _callSite)

0 commit comments

Comments
 (0)