1
0
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:
Volker Lendecke 2010-08-01 20:15:39 +02:00
parent 0213cfa6af
commit fb167a6028

View File

@ -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];