diff --git a/wand/deprecate.c b/wand/deprecate.c
index 660c6a6..7f43fb5 100644
--- a/wand/deprecate.c
+++ b/wand/deprecate.c
@@ -857,7 +857,7 @@
   if (bordercolor != (PixelWand *) NULL)
     PixelGetQuantumColor(bordercolor,&target);
   wand->images->fuzz=fuzz;
-  status=MatteFloodfillImage(wand->images,target,RoundToQuantum(
+  status=MatteFloodfillImage(wand->images,target,ClampToQuantum(
     (MagickRealType) QuantumRange-QuantumRange*alpha),x,y,bordercolor !=
     (PixelWand *) NULL ? FillToBorderMethod : FloodfillMethod);
   if (status == MagickFalse)