compiler warning

extra/mariabackup/ds_buffer.c:145:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
This commit is contained in:
Sergei Golubchik 2018-03-24 13:50:52 +01:00
parent 0b74a1fa64
commit 5fdbc3f66b

View File

@ -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