X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Flanguage%2Fdata-io%2Fprint.c;h=bdc9ff61500656d77c4eb74d0ca8560941d8ba66;hb=84d8b182e81aea6cd7422611888192bcc1ac6980;hp=374415b531fb860f662621a08604cb2d598445e8;hpb=888d0f91d57e0c3c5a4206c30ac71eb87bf44227;p=pspp-builds.git diff --git a/src/language/data-io/print.c b/src/language/data-io/print.c index 374415b5..bdc9ff61 100644 --- a/src/language/data-io/print.c +++ b/src/language/data-io/print.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -258,9 +257,9 @@ parse_specs (struct lexer *lexer, struct pool *tmp_pool, struct print_trns *trns } if (trns->record_cnt != 0 && trns->record_cnt != record) - msg (SW, _("Output calls for %d records but %d specified on RECORDS " + msg (SW, _("Output calls for %d records but %u specified on RECORDS " "subcommand."), - record, trns->record_cnt); + record, (unsigned int) trns->record_cnt); trns->record_cnt = record; return true; @@ -460,7 +459,7 @@ print_trns_proc (void *trns_, struct ccase *c, casenumber case_num UNUSED) ds_set_length (&trns->line, spec->first_column, ' '); if (spec->type == PRT_VAR) { - const union value *input = case_data (c, spec->var->fv); + const union value *input = case_data (c, spec->var); char *output = ds_put_uninit (&trns->line, spec->format.w); if (!spec->sysmis_as_spaces || input->f != SYSMIS) data_out (input, &spec->format, output);