summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-11-28 18:23:35 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-11-28 18:29:20 +0200
commit23d2dae5f017638d922f8013d95942b277b079f3 (patch)
tree4eb5ab24bfc3cd740fe6405b69f1ce368d8023bb
parente02b8608612ad827dd789a6ac8113fee62a9d782 (diff)
downloadmariadb-git-23d2dae5f017638d922f8013d95942b277b079f3.tar.gz
Fix some integer type mismatch warnings
-rw-r--r--extra/mariabackup/xtrabackup.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index 463fdcbb426..c0b79f01cd5 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -4291,12 +4291,12 @@ xtrabackup_apply_delta(
page_size = info.page_size.physical();
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);
if (page_size_shift < 10 ||
page_size_shift > UNIV_PAGE_SIZE_SHIFT_MAX) {
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;
}