Fixed pointer cast
authorJason Stover <jhs@math.gcsu.edu>
Wed, 23 Nov 2005 21:21:19 +0000 (21:21 +0000)
committerJason Stover <jhs@math.gcsu.edu>
Wed, 23 Nov 2005 21:21:19 +0000 (21:21 +0000)
src/regression.q

index ee7c0075442288cc32afb9e2aa9f8ff48982cd64..196172c43424bf599b2c436e2c0334f7f7968c8c 100644 (file)
@@ -604,7 +604,7 @@ run_regression (const struct casefile *cf, void *cmd_ UNUSED)
                      pspp_reg_rc = CMD_FAILURE;
                      return;
                    }
-                 lcache->depvar = (const struct var *) v;
+                 lcache->depvar = (const struct variable *) v;
                  gsl_vector_set (Y, row, val->f);
                }
              else