format: Reduce size of struct fmt_spec from 6 bytes to 4.
[pspp] / src / data / format.h
index 1cb7bc6b7feb027573c82c5468b951942d01b6b0..4cde16b17a0b1352356f6b522c602bc18150b70e 100644 (file)
@@ -75,8 +75,8 @@ enum ATTRIBUTE ((packed)) fmt_type
 struct fmt_spec
   {
     enum fmt_type type;                /* One of FMT_*. */
-    uint16_t w;                        /* Width. */
     uint8_t d;                 /* Number of decimal places. */
+    uint16_t w;                        /* Width. */
   };
 
 /* Maximum width of any numeric format. */