Commit a2d23f49 authored by marko's avatar marko

branches/zip: buf_block_align(): Add missing type conversion.

parent 5b0a5102
......@@ -612,7 +612,7 @@ buf_block_align(
const buf_block_t* block;
ulint space_id, page_no;
ptr = ut_align_down(ptr, UNIV_PAGE_SIZE);
ptr = (const byte*) ut_align_down(ptr, UNIV_PAGE_SIZE);
page_no = mach_read_from_4(ptr + FIL_PAGE_OFFSET);
space_id = mach_read_from_4(ptr + FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID);
......
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