diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-26 02:53:49 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-26 02:53:49 +0300 |
commit | 15f3cf7f8f956a6372b6a99788b622946ba3d1e5 (patch) | |
tree | 0ad4fe0aeb21ea4773088b0c92cc7bcb48d5e2a5 /intern/guardedalloc/tests | |
parent | e746999aa937f6de638a339d52e1f2e494014919 (diff) |
Cleanup: replace C-style casts with functional casts for numeric types
Some changes missed from f68cfd6bb078482c4a779a6e26a56e2734edb5b8.
Diffstat (limited to 'intern/guardedalloc/tests')
-rw-r--r-- | intern/guardedalloc/tests/guardedalloc_alignment_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/guardedalloc/tests/guardedalloc_alignment_test.cc b/intern/guardedalloc/tests/guardedalloc_alignment_test.cc index ceda01c2fba..b1a2143c8dc 100644 --- a/intern/guardedalloc/tests/guardedalloc_alignment_test.cc +++ b/intern/guardedalloc/tests/guardedalloc_alignment_test.cc @@ -7,7 +7,7 @@ #include "MEM_guardedalloc.h" #include "guardedalloc_test_base.h" -#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ((size_t)ptr % align, 0) +#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ(size_t(ptr) % align, 0) namespace { |