sys-file-encoding: Put the buffer-read-only declaration at the very top.
[pspp] / src / language / stats / autorecode.c
index cd1a220affcc0d9a3a6a243350b73ee2f9c9c087..005ba7622a818602c477b90682c9245d545bf56e 100644 (file)
@@ -387,7 +387,7 @@ cmd_autorecode (struct lexer *lexer, struct dataset *ds)
                 old_values->root, pivot_value_new_value (
                   &item->from, item->width,
                   (item->width
-                   ? &(struct fmt_spec) { FMT_F, item->width, 0 }
+                   ? &(struct fmt_spec) { .type = FMT_F, .w = item->width }
                    : &spec->format),
                   dict_get_encoding (dict)));
               pivot_table_put2 (table, 0, old_value_idx,