summaryrefslogtreecommitdiff
path: root/storage/xtradb/dict/dict0load.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/dict/dict0load.cc')
-rw-r--r--storage/xtradb/dict/dict0load.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/dict/dict0load.cc b/storage/xtradb/dict/dict0load.cc
index 9add88c0ea5..013a5fb7b37 100644
--- a/storage/xtradb/dict/dict0load.cc
+++ b/storage/xtradb/dict/dict0load.cc
@@ -1065,7 +1065,8 @@ loop:
bool is_temp = false;
bool discarded = false;
- ib_uint32_t flags2 = mach_read_from_4(field);
+ ib_uint32_t flags2 = static_cast<ib_uint32_t>(
+ mach_read_from_4(field));
/* Check that the tablespace (the .ibd file) really
exists; print a warning to the .err log if not.