mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
cStyleCasts
This commit is contained in:
@@ -68,7 +68,7 @@ void two_aligned_free(void *mem) {
|
||||
return;
|
||||
}
|
||||
// Allocated with two_aligned_malloc above.
|
||||
free((char *)mem - 2);
|
||||
free(static_cast<char *>(mem) - 2);
|
||||
}
|
||||
|
||||
TEST(CustomAllocator, TwoAlignedCompile) {
|
||||
|
||||
Reference in New Issue
Block a user