diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-01 20:15:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-01 18:16:19 +0200 |
commit | fb167a602879e9348d7fab1a24e04dc289678725 (patch) | |
tree | 05a9888725d702c39e592e6f48bdb802f80d790f /source3/lib | |
parent | 0213cfa6af19fe1267662af802f42b8c0ce7194c (diff) | |
download | samba-fb167a602879e9348d7fab1a24e04dc289678725.tar.gz samba-fb167a602879e9348d7fab1a24e04dc289678725.tar.bz2 samba-fb167a602879e9348d7fab1a24e04dc289678725.zip |
s3: Fix a C++ warning
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 2 |
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]; |