Cleanup: replace C-style casts with functional casts for numeric types

Some changes missed from f68cfd6bb0.
This commit is contained in:
2022-09-25 20:27:46 +10:00
parent d35a10134c
commit 21d77a417e
40 changed files with 162 additions and 162 deletions

View File

@@ -278,7 +278,7 @@ void GPU_vertbuf_attr_get_raw_data(GPUVertBuf *verts_, uint a_idx, GPUVertBufRaw
access->data = (uchar *)verts->data + a->offset;
access->data_init = access->data;
#ifdef DEBUG
access->_data_end = access->data_init + (size_t)(verts->vertex_alloc * format->stride);
access->_data_end = access->data_init + size_t(verts->vertex_alloc * format->stride);
#endif
}