summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/ntvfs_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index f94dacb57f..923a131d5e 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -42,7 +42,7 @@ static int num_backends;
The 'type' is used to specify whether this is for a disk, printer or IPC$ share
*/
-static NTSTATUS ntvfs_register(void *_ops)
+static NTSTATUS ntvfs_register(const void *_ops)
{
const struct ntvfs_ops *ops = _ops;
struct ntvfs_ops *new_ops;