struct casereader *r = input;
- struct mcnemar *mc = xcalloc (sizeof *mc, t2s->n_pairs);
+ struct mcnemar *mc = xcalloc (t2s->n_pairs, sizeof *mc);
for (i = 0 ; i < t2s->n_pairs; ++i )
{
ds_put_cstr (&pair_name, " & ");
ds_put_cstr (&pair_name, var_to_string ((*vp)[1]));
- tab_title (table, ds_cstr (&pair_name));
+ tab_title (table, "%s", ds_cstr (&pair_name));
ds_destroy (&pair_name);