File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ buf_buddy_stamp_free(
132132buf_buddy_free_t * buf,/* !< in/out: block to stamp */
133133ulint i)/* !< in: block size */
134134{
135- ut_d (memset (buf, static_cast < int > (i), BUF_BUDDY_LOW << i));
135+ ut_d (memset (& buf-> stamp . bytes , int (i), BUF_BUDDY_LOW << i));
136136buf_buddy_mem_invalid (buf, i);
137137mach_write_to_4 (buf->stamp .bytes + BUF_BUDDY_STAMP_OFFSET,
138138BUF_BUDDY_STAMP_FREE);
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ buf_buddy_stamp_free(
132132buf_buddy_free_t * buf,/* !< in/out: block to stamp */
133133ulint i)/* !< in: block size */
134134{
135- ut_d (memset (buf, static_cast < int > (i), BUF_BUDDY_LOW << i));
135+ ut_d (memset (& buf-> stamp . bytes , int (i), BUF_BUDDY_LOW << i));
136136buf_buddy_mem_invalid (buf, i);
137137mach_write_to_4 (buf->stamp .bytes + BUF_BUDDY_STAMP_OFFSET,
138138BUF_BUDDY_STAMP_FREE);
You can’t perform that action at this time.
0 commit comments