diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-07-15 14:43:07 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-07-15 14:43:07 +0200 |
commit | 12585911bab86cc294c396f1b5cc24653e06b6df (patch) | |
tree | 8a0b8dd08634f5ee3911d7840df792f6b54a46c9 /image/src | |
parent | 9006af0e2ba92ad280d3dabd7f2eb2ea04dca30a (diff) | |
download | palemoon-gre-12585911bab86cc294c396f1b5cc24653e06b6df.tar.gz |
Fix build bustage when compiler warnings as errors
Diffstat (limited to 'image/src')
-rw-r--r-- | image/src/VectorImage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/src/VectorImage.cpp b/image/src/VectorImage.cpp index 8054d9e9b..9dd338a6c 100644 --- a/image/src/VectorImage.cpp +++ b/image/src/VectorImage.cpp @@ -850,8 +850,8 @@ VectorImage::CreateSurfaceAndShow(const SVGDrawingParameters& aParams) // The image is too big to fit in the cache: !SurfaceCache::CanHold(aParams.size) || // Image x or y is larger than our cache cap: - aParams.size.width > maxDimension || - aParams.size.height > maxDimension; + unsigned(aParams.size.width) > maxDimension || + unsigned(aParams.size.height) > maxDimension; if (bypassCache) return Show(svgDrawable, aParams); |