X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fexpressions%2Foperations.def;h=d283867214811ea142d83cafd39d9b69faf2a0a0;hb=de2342cc0a5a3c7567ddadbb8eaee7019667a2b4;hp=db71d2770339db273fa5114fe456afb83f106411;hpb=f15c854d8500105766b2f5666bb62b983ff24f88;p=pspp diff --git a/src/language/expressions/operations.def b/src/language/expressions/operations.def index db71d27703..d283867214 100644 --- a/src/language/expressions/operations.def +++ b/src/language/expressions/operations.def @@ -573,7 +573,7 @@ string function RTRIM (string s, string c) function NUMBER (string s, ni_format f) { union value out; - data_in (ss_head (s, f->w), LEGACY_NATIVE, f->type, f->d, 0, 0, &out, 0); + data_in (ss_head (s, f->w), LEGACY_NATIVE, f->type, f->d, 0, 0, NULL, &out, 0); return out.f; } @@ -587,7 +587,7 @@ absorb_miss string function STRING (x, no_format f) v.f = x; assert (!fmt_is_string (f->type)); - s = data_out (&v, f); + s = data_out (&v, LEGACY_NATIVE, f); dst = alloc_string (e, strlen (s)); strcpy (dst.string, s); free (s);