summaryrefslogtreecommitdiff
path: root/image/src
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-07-15 14:43:07 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-07-15 14:43:07 +0200
commit12585911bab86cc294c396f1b5cc24653e06b6df (patch)
tree8a0b8dd08634f5ee3911d7840df792f6b54a46c9 /image/src
parent9006af0e2ba92ad280d3dabd7f2eb2ea04dca30a (diff)
downloadpalemoon-gre-12585911bab86cc294c396f1b5cc24653e06b6df.tar.gz
Fix build bustage when compiler warnings as errors
Diffstat (limited to 'image/src')
-rw-r--r--image/src/VectorImage.cpp4
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);