Commit 23d2dae5 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix some integer type mismatch warnings

parent e02b8608
...@@ -4291,12 +4291,12 @@ xtrabackup_apply_delta( ...@@ -4291,12 +4291,12 @@ xtrabackup_apply_delta(
page_size = info.page_size.physical(); page_size = info.page_size.physical();
page_size_shift = get_bit_shift(page_size); page_size_shift = get_bit_shift(page_size);
msg("mariabackup: page size for %s is %lu bytes\n", msg("mariabackup: page size for %s is %zu bytes\n",
src_path, page_size); src_path, page_size);
if (page_size_shift < 10 || if (page_size_shift < 10 ||
page_size_shift > UNIV_PAGE_SIZE_SHIFT_MAX) { page_size_shift > UNIV_PAGE_SIZE_SHIFT_MAX) {
msg("mariabackup: error: invalid value of page_size " msg("mariabackup: error: invalid value of page_size "
"(%lu bytes) read from %s\n", page_size, meta_path); "(%zu bytes) read from %s\n", page_size, meta_path);
goto error; goto error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment