From: Roland McGrath Date: Tue, 1 Mar 2005 23:02:32 +0000 (+0000) Subject: 2005-03-01 Roland McGrath X-Git-Tag: v4.5.18~413 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f774642aa435b67f4e6c4316d3955318a799fc8a;p=strace 2005-03-01 Roland McGrath * file.c (print_xattr_val): Add a cast. --- diff --git a/file.c b/file.c index 0879f863..c8f7b878 100644 --- a/file.c +++ b/file.c @@ -2358,7 +2358,7 @@ long insize, size; if (!failed) { unsigned char *buf = malloc(4 * size + 1); if (buf == NULL || /* probably a bogus size argument */ - umoven(tcp, arg, size, &buf[3 * size]) < 0) { + umoven(tcp, arg, size, (char *) &buf[3 * size]) < 0) { failed = 1; } else {