2005-03-01 Roland McGrath <roland@redhat.com>

* file.c (print_xattr_val): Add a cast.
This commit is contained in:
Roland McGrath 2005-03-01 23:02:32 +00:00
parent b0a3d4ee5a
commit f774642aa4

2
file.c
View File

@ -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 {