From fb167a602879e9348d7fab1a24e04dc289678725 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 1 Aug 2010 20:15:39 +0200 Subject: s3: Fix a C++ warning --- source3/lib/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit