diff --git a/magick/fourier.c b/magick/fourier.c
index 806777b..dc1f4f8 100644
--- a/magick/fourier.c
+++ b/magick/fourier.c
@@ -203,12 +203,12 @@
 static void CorrectPhaseLHS(const size_t width,const size_t height,
   double *fourier)
 {
-  ssize_t
-    y;
-
   register ssize_t
     x;
 
+  ssize_t
+    y;
+
   for (y=0L; y < (ssize_t) height; y++)
     for (x=0L; x < (ssize_t) (width/2L); x++)
       fourier[y*width+x]*=(-1.0);