X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmis-val.c;h=f388583a33483d73f35d4366ece8b3b44ffbc5e7;hb=92bfefccd465052e492f669ce561aa25b0110283;hp=66ceb9ce0886c1d92103de8d860cabecaf4aace3;hpb=1aaf5919aa5709fa6cfa710652143635a68bdbfb;p=pspp-builds.git diff --git a/src/mis-val.c b/src/mis-val.c index 66ceb9ce..f388583a 100644 --- a/src/mis-val.c +++ b/src/mis-val.c @@ -315,7 +315,7 @@ parse_alpha (void) msg (SE, _("String is not of proper length.")); return 0; } - strncpy (missing[miss_type].s, ds_value (&tokstr), MAX_SHORT_STRING); + strncpy (missing[miss_type].s, ds_c_str (&tokstr), MAX_SHORT_STRING); lex_get (); lex_match (','); }