X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fexpressions%2Fhelpers.c;h=25fe143728ca2a48444452de3c0a54ef216fbe09;hb=fa489d6ef77150e60c31906ee322bea2901da57f;hp=b4534c8111719e8e1f9de3ac73d3b9a3cf66dffd;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/expressions/helpers.c b/src/expressions/helpers.c index b4534c8111..25fe143728 100644 --- a/src/expressions/helpers.c +++ b/src/expressions/helpers.c @@ -158,7 +158,7 @@ alloc_string (struct expression *e, size_t length) } struct fixed_string -copy_string (struct expression *e, const char *old, size_t length) +copy_string (struct expression *e, const unsigned char *old, size_t length) { struct fixed_string s = alloc_string (e, length); memcpy (s.string, old, length);