Skip to content
Permalink
Browse files
Silence GCC 8 -Wno-class-memaccess
  • Loading branch information
dr-m committed Mar 12, 2019
1 parent fe8cf7f commit 945edff
Showing 1 changed file with 1 addition and 1 deletion.
@@ -362,7 +362,7 @@ buf_buddy_alloc_zip(

if (buf) {
/* Trash the page other than the BUF_BUDDY_STAMP_NONFREE. */
UNIV_MEM_TRASH(buf, ~i, BUF_BUDDY_STAMP_OFFSET);
UNIV_MEM_TRASH((void*) buf, ~i, BUF_BUDDY_STAMP_OFFSET);
UNIV_MEM_TRASH(BUF_BUDDY_STAMP_OFFSET + 4
+ buf->stamp.bytes, ~i,
(BUF_BUDDY_LOW << i)

0 comments on commit 945edff

Please sign in to comment.