X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcount.c;h=dd88e01a62aeac8d4bf845af1ae0f9c06584c524;hb=92bfefccd465052e492f669ce561aa25b0110283;hp=058d60d539d81f71c7880b703fc9f1a1c62e06ad;hpb=1aaf5919aa5709fa6cfa710652143635a68bdbfb;p=pspp-builds.git diff --git a/src/count.c b/src/count.c index 058d60d5..dd88e01a 100644 --- a/src/count.c +++ b/src/count.c @@ -347,7 +347,7 @@ parse_string_criteria (struct counting * c) cur = &c->crit.s[n++]; cur->type = CNT_SINGLE; cur->s = malloc (len + 1); - st_pad_copy (cur->s, ds_value (&tokstr), len + 1); + st_pad_copy (cur->s, ds_c_str (&tokstr), len + 1); lex_get (); lex_match (',');