diff --git a/coders/webp.c b/coders/webp.c
index c90dfbc..7444b84 100644
--- a/coders/webp.c
+++ b/coders/webp.c
@@ -173,7 +173,7 @@
       SetRedPixelComponent(q,ScaleCharToQuantum(*p++));
       SetGreenPixelComponent(q,ScaleCharToQuantum(*p++));
       SetBluePixelComponent(q,ScaleCharToQuantum(*p++));
-      SetOpacityPixelComponent(q,(Quantum) (QuantumRange-ScaleCharToQuantum(*p++)));
+      SetOpacityPixelComponent(q,(QuantumRange-ScaleCharToQuantum(*p++)));
       if (q->opacity != OpaqueOpacity)
         image->matte=MagickTrue;
       q++;