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