diff --git a/magick/transform.c b/magick/transform.c
index b458c12..3026c81 100644
--- a/magick/transform.c
+++ b/magick/transform.c
@@ -1140,11 +1140,13 @@
     MagickBooleanType
       sync;
 
+    register const IndexPacket
+      *restrict indexes;
+
     register const PixelPacket
       *restrict p;
 
     register IndexPacket
-      *restrict indexes,
       *restrict destination_indexes;
 
     register long