s3: Fix a C++ warning
authorVolker Lendecke <vl@samba.org>
Sun, 1 Aug 2010 18:15:39 +0000 (20:15 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 1 Aug 2010 16:16:19 +0000 (18:16 +0200)
source3/lib/system.c

index 2877ba9fd83001cfdcf8c7b6f164e32367396a1b..ee8efe87a4c737049b1b7854532e0687020d5a00 100644 (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];