Use 64 bit shift to make MSVC happy
CQ_INCLUDE_TRYBOTS=skia.primary:Build-Win-MSVC-arm64-Debug,Build-Win-MSVC-x86_64-Debug Change-Id: I381da9c2b2e9b98bc50e8d80ead10ad048e50fce Reviewed-on: https://skia-review.googlesource.com/c/skia/+/243036 Commit-Queue: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
ffdc3e6680
commit
1ec1e3c55e
@ -83,7 +83,7 @@ void MotionBlurEffect::renderToRaster8888Pow2Samples(SkCanvas* canvas,
|
||||
|
||||
// Don't worry about "Next"... this is exact.
|
||||
const int shift = SkNextLog2(fSampleCount);
|
||||
SkASSERT((1u<<shift) == fSampleCount);
|
||||
SkASSERT((size_t(1)<<shift) == fSampleCount);
|
||||
|
||||
SkASSERT(this->children().size() == 1ul);
|
||||
const sk_sp<RenderNode>& child = this->children()[0];
|
||||
|
Loading…
Reference in New Issue
Block a user