for (int row_ofs = 0; row_ofs < d->label_depth; row_ofs++)
{
- for (size_t x1 = 0; x1 < n_columns; )
+ for (size_t x1 = 0; x1 < n_columns;)
{
const struct pivot_category *c = find_category (
d, dim_index, column_enumeration + x1 * stride, row_ofs);
out->b = in->color.b;
}
- struct footnote **footnotes = xcalloc (pt->n_footnotes, sizeof *footnotes);
+ struct footnote **footnotes = XCALLOC (pt->n_footnotes, struct footnote *);
for (size_t i = 0; i < pt->n_footnotes; i++)
{
const struct pivot_footnote *pf = pt->footnotes[i];
pt->show_values, pt->show_variables,
false, pt->rotate_outer_row_labels);
- size_t *dindexes = xcalloc (pt->n_dimensions, sizeof *dindexes);
+ size_t *dindexes = XCALLOC (pt->n_dimensions, size_t);
size_t y = 0;
PIVOT_ENUMERATION_FOR_EACH (pindexes[PIVOT_AXIS_ROW], row_enumeration,
&pt->axes[PIVOT_AXIS_ROW])