summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-03-24 13:50:52 +0100
committerSergei Golubchik <serg@mariadb.org>2018-03-24 14:17:31 +0100
commit5fdbc3f66b68c049546afdec94aa469c6266beb2 (patch)
tree21c818f2b3e2db3e42daa2138928f45940b63668 /extra
parent0b74a1fa64fdb21a43c8880274d1639fb9ef816e (diff)
downloadmariadb-git-5fdbc3f66b68c049546afdec94aa469c6266beb2.tar.gz
compiler warning
extra/mariabackup/ds_buffer.c:145:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/ds_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/ds_buffer.c b/extra/mariabackup/ds_buffer.c
index 13c05f38918..8e13e878953 100644
--- a/extra/mariabackup/ds_buffer.c
+++ b/extra/mariabackup/ds_buffer.c
@@ -142,7 +142,7 @@ buffer_write(ds_file_t *file, const uchar *buf, size_t len)
buffer_file->pos = 0;
- buf = (const char *) buf + bytes;
+ buf += bytes;
len -= bytes;
} else {
/* We don't have any buffered bytes, just write