Reform string library.
[pspp-builds.git] / src / language / xforms / count.c
index 8673c6de2435fd6b71ce7ad563ccc9c274885b6f..284cdeebb5556e87b30305b9271ef99d6ee9269d 100644 (file)
@@ -254,7 +254,7 @@ parse_string_criteria (struct pool *pool, struct criteria *crit)
        return false;
       cur = &crit->values.str[crit->value_cnt++];
       *cur = pool_alloc (pool, len + 1);
-      str_copy_rpad (*cur, len + 1, ds_c_str (&tokstr));
+      str_copy_rpad (*cur, len + 1, ds_cstr (&tokstr));
       lex_get ();
 
       lex_match (',');