refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2021-10-07 11:17:02 +02:00
parent c61a3865ee
commit 6d9dea4201
14 changed files with 27 additions and 27 deletions

View File

@@ -2401,7 +2401,7 @@ static inline void shada_initialize_registers(WriteMergerState *const wms, int m
.data = {
.reg = {
.contents = (char **)reg.y_array,
.contents_size = (size_t)reg.y_size,
.contents_size = reg.y_size,
.type = reg.y_type,
.width = (size_t)(reg.y_type == kMTBlockWise ? reg.y_width : 0),
.additional_data = reg.additional_data,