diff options
Diffstat (limited to 'core/fxge/skia')
-rw-r--r-- | core/fxge/skia/fx_skia_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index 7f47d855c9..d6d8218d57 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp @@ -233,7 +233,7 @@ bool AddSamples(const CPDF_Function* pFunc, return false; uint32_t sampleSize = sampledFunc->m_nBitsPerSample; uint32_t sampleCount = encodeInfo.sizes; - if (sampleCount != 1 << sampleSize) + if (sampleCount != 1U << sampleSize) return false; if (sampledFunc->m_pSampleStream->GetSize() < sampleCount * 3 * sampleSize / 8) { |