format: Reduce size of struct fmt_spec from 6 bytes to 4.
[pspp] / src / data / psql-reader.c
index f4c44a177f5b53dea84405aae9ae5b5f6b2663f2..6780138b08da038015f0022ef81b59e606a2e2ce 100644 (file)
@@ -372,7 +372,7 @@ psql_open_reader (struct psql_read_info *info, struct dictionary **dict)
   for (i = 0 ; i < n_fields ; ++i)
     {
       struct variable *var;
-      struct fmt_spec fmt = {FMT_F, 8, 2};
+      struct fmt_spec fmt = { .type = FMT_F, .w = 8, .d = 2 };
       Oid type = PQftype (qres, i);
       int width = 0;
       int length ;