Commit 58e525e4 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix Windows warning/error after c0f47a4a

parent c0f47a4a
......@@ -282,7 +282,7 @@ static void init_page_size(const byte* buf)
+ FSP_SPACE_FLAGS);
if (FSP_FLAGS_FCRC32_HAS_MARKER(flags)) {
srv_page_size = fil_space_t::logical_size(flags);
srv_page_size = (ulong)fil_space_t::logical_size(flags);
physical_page_size = srv_page_size;
return;
}
......@@ -293,7 +293,7 @@ static void init_page_size(const byte* buf)
? UNIV_ZIP_SIZE_SHIFT_MIN - 1 + ssize
: UNIV_PAGE_SIZE_SHIFT_ORIG;
srv_page_size = fil_space_t::logical_size(flags);
srv_page_size = (ulong)fil_space_t::logical_size(flags);
physical_page_size = fil_space_t::physical_size(flags);
}
......
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