summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-01 20:15:39 +0200
committerVolker Lendecke <vl@samba.org>2010-08-01 18:16:19 +0200
commitfb167a602879e9348d7fab1a24e04dc289678725 (patch)
tree05a9888725d702c39e592e6f48bdb802f80d790f
parent0213cfa6af19fe1267662af802f42b8c0ce7194c (diff)
downloadsamba-fb167a602879e9348d7fab1a24e04dc289678725.tar.gz
samba-fb167a602879e9348d7fab1a24e04dc289678725.tar.bz2
samba-fb167a602879e9348d7fab1a24e04dc289678725.zip
s3: Fix a C++ warning
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 2877ba9fd8..ee8efe87a4 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -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];