Fix warnings
[pspp-builds.git] / src / ui / gui / psppire.c
index 62117a01bc0bbfc779476da08d3117a0913d59ad..b2861d8aee924b641136d93d139488f2c25e69c9 100644 (file)
@@ -283,7 +283,7 @@ parse_non_options (int key, char *arg, struct argp_state *state)
 
        ds_destroy (&syntax);
 
-       psppire_window_set_filename (the_data_window, arg);
+       psppire_window_set_filename (PSPPIRE_WINDOW (the_data_window), arg);
 
        break;
       }