X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Fprint-space.c;h=3f73ee25a8de16fb1f1883608e2c6fa8cf25fdba;hb=cc57a28ef6796ae9a64ef80d453f72126956d49d;hp=c3a2e09a3d93f6f56de75da1a12346ee2329a8b7;hpb=9bf1c33953f7feff2a24a06293f6fe96b75cc41a;p=pspp-builds.git diff --git a/src/language/data-io/print-space.c b/src/language/data-io/print-space.c index c3a2e09a..3f73ee25 100644 --- a/src/language/data-io/print-space.c +++ b/src/language/data-io/print-space.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -102,7 +102,7 @@ cmd_print_space (struct lexer *lexer, struct dataset *ds) /* Executes a PRINT SPACE transformation. */ static int -print_space_trns_proc (void *t_, struct ccase *c, +print_space_trns_proc (void *t_, struct ccase **c, casenumber case_num UNUSED) { struct print_space_trns *trns = t_; @@ -111,7 +111,7 @@ print_space_trns_proc (void *t_, struct ccase *c, n = 1; if (trns->expr) { - double f = expr_evaluate_num (trns->expr, c, case_num); + double f = expr_evaluate_num (trns->expr, *c, case_num); if (f == SYSMIS) msg (SW, _("The expression on PRINT SPACE evaluated to the " "system-missing value."));