Cleanup: use function style casts

This commit is contained in:
Campbell Barton
2025-08-12 02:46:51 +00:00
parent 814eb05405
commit 66803e4441
14 changed files with 23 additions and 24 deletions

View File

@@ -363,7 +363,7 @@ void *MEM_guarded_dupallocN(const void *vmemh)
}
else {
newp = MEM_guarded_mallocN_aligned(
memh->len, (size_t)memh->alignment, name, AllocationType::ALLOC_FREE);
memh->len, size_t(memh->alignment), name, AllocationType::ALLOC_FREE);
}
if (newp == nullptr)