summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/thebes/gfxUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/thebes/gfxUtils.cpp b/gfx/thebes/gfxUtils.cpp
index adc48b972f..5348a1b30f 100644
--- a/gfx/thebes/gfxUtils.cpp
+++ b/gfx/thebes/gfxUtils.cpp
@@ -483,7 +483,7 @@ PrescaleAndTileDrawable(gfxDrawable* aDrawable,
{
gfxSize scaleFactor = aContext->CurrentMatrix().ScaleFactors(true);
gfxMatrix scaleMatrix = gfxMatrix::Scaling(scaleFactor.width, scaleFactor.height);
- const float fuzzFactor = 0.01;
+ const float fuzzFactor = 0.01f;
// If we aren't scaling or translating, don't go down this path
if ((FuzzyEqual(scaleFactor.width, 1.0, fuzzFactor) &&