commit | f774642aa435b67f4e6c4316d3955318a799fc8a | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Tue Mar 01 23:02:32 2005 +0000 |
committer | Roland McGrath <roland@redhat.com> | Tue Mar 01 23:02:32 2005 +0000 |
tree | d2a559bfb8435c0f923809ccb5314ed34d17ed73 | |
parent | b0a3d4ee5aa8b2305257897367d7abc8ae1cce95 [diff] [blame] |
2005-03-01 Roland McGrath <roland@redhat.com> * file.c (print_xattr_val): Add a cast.
diff --git a/file.c b/file.c index 0879f86..c8f7b87 100644 --- a/file.c +++ b/file.c
@@ -2358,7 +2358,7 @@ 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 {