summaryrefslogtreecommitdiff
path: root/extra/mariabackup/datasink.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/datasink.c')
-rw-r--r--extra/mariabackup/datasink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/datasink.c b/extra/mariabackup/datasink.c
index 460e0e8ca19..1459da2fb57 100644
--- a/extra/mariabackup/datasink.c
+++ b/extra/mariabackup/datasink.c
@@ -108,7 +108,7 @@ Write to a datasink file.
int
ds_write(ds_file_t *file, const void *buf, size_t len)
{
- return file->datasink->write(file, buf, len);
+ return file->datasink->write(file, (const uchar *)buf, len);
}
/************************************************************************