mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3: Fix a C++ warning
This commit is contained in:
parent
0213cfa6af
commit
fb167a6028
@ -1790,7 +1790,7 @@ static ssize_t bsd_attr_list (int type, extattr_arg arg, char *list, size_t size
|
||||
return -1;
|
||||
}
|
||||
/* Shift results back, so we can prepend prefixes */
|
||||
buf = memmove(list + len, list, list_size);
|
||||
buf = (char *)memmove(list + len, list, list_size);
|
||||
|
||||
for(i = 0; i < list_size; i += len + 1) {
|
||||
len = buf[i];
|
||||
|
Loading…
Reference in New Issue
Block a user