table-select: Only cut headers into two if needed in table_select_slice().
[pspp] / src / output / table-casereader.c
index 672dd87f49bc74200400fff3d4a978547af3f3b1..5d5154ef40c691eb871ef548b91e6bcef2572d7f 100644 (file)
@@ -38,7 +38,7 @@ static const struct table_class table_casereader_class;
 static struct table_casereader *
 table_casereader_cast (const struct table *table)
 {
-  assert (table->class == &table_casereader_class);
+  assert (table->klass == &table_casereader_class);
   return UP_CAST (table, struct table_casereader, table);
 }