diff --git a/coders/dpx.c b/coders/dpx.c
index 1877b3d..89e5274 100644
--- a/coders/dpx.c
+++ b/coders/dpx.c
@@ -1121,7 +1121,7 @@
         status=MagickFalse;
         continue;
       }
-    length=ImportQuantumPixels(image,(const CacheView *) NULL,quantum_info,
+    length=ImportQuantumPixels(image,(CacheView *) NULL,quantum_info,
       quantum_type,pixels,exception);
     sync=SyncAuthenticPixels(image,exception);
     if (sync == MagickFalse)