More constness
[pspp-builds.git] / src / data / sys-file-writer.c
index 000534c4844a2dd6bd2237c658add8f66c949109..1b18e1ed08ffbf824aa7fc52dc7cad0e643a803a 100644 (file)
@@ -372,7 +372,7 @@ write_header (struct sfm_writer *w, const struct dictionary *d)
 
   if (dict_get_weight (d) != NULL)
     {
-      struct variable *weight_var;
+      const struct variable *weight_var;
       int recalc_weight_idx = 1;
       int i;