X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-transpose.c;h=f2db939f5a012246ec9424ec71417e0a462aeebf;hb=refs%2Fbuilds%2F20130811030503%2Fpspp;hp=3dd862026274e3185dc18e4ab27e2a44d9e264be;hpb=81579d9e9f994fb2908f50af41c3eb033d216e58;p=pspp diff --git a/src/output/table-transpose.c b/src/output/table-transpose.c index 3dd8620262..f2db939f5a 100644 --- a/src/output/table-transpose.c +++ b/src/output/table-transpose.c @@ -34,7 +34,7 @@ static const struct table_class table_transpose_class; static struct table_transpose * table_transpose_cast (const struct table *table) { - assert (table->class == &table_transpose_class); + assert (table->klass == &table_transpose_class); return UP_CAST (table, struct table_transpose, table); } @@ -46,7 +46,7 @@ table_transpose (struct table *subtable) if (subtable->n[TABLE_HORZ] == subtable->n[TABLE_VERT] && subtable->n[TABLE_HORZ] <= 1) return subtable; - else if (subtable->class == &table_transpose_class) + else if (subtable->klass == &table_transpose_class) { struct table_transpose *tt = table_transpose_cast (subtable); struct table *table = table_ref (tt->subtable);