Merge pull request #13389 from Pospelove/patch-1

Fix "signed/unsigned mismatch" warnings (MSVC)
This commit is contained in:
Daniel Kirchner 2022-08-15 11:05:28 +02:00 committed by GitHub
commit 31bd4f6b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ bool FullInliner::shallInline(FunctionCall const& _funCall, YulString _callSite)
break;
}
return (size < (aggressiveInlining ? 8 : 6) || (constantArg && size < (aggressiveInlining ? 16 : 12)));
return (size < (aggressiveInlining ? 8u : 6u) || (constantArg && size < (aggressiveInlining ? 16u : 12u)));
}
void FullInliner::tentativelyUpdateCodeSize(YulString _function, YulString _callSite)