diff --git a/coders/xps.c b/coders/xps.c
index 8a8ffa1..85c84dc 100644
--- a/coders/xps.c
+++ b/coders/xps.c
@@ -140,13 +140,13 @@
   SegmentInfo
     bounds;
 
-  ssize_t
-    count;
-
   size_t
     height,
     width;
 
+  ssize_t
+    count;
+
   assert(image_info != (const ImageInfo *) NULL);
   assert(image_info->signature == MagickSignature);
   if (image_info->debug != MagickFalse)