Cycles: Split path initialization into own kernel
[blender-staging.git] / intern / cycles / test / util_aligned_malloc_test.cpp
index 479070f0513f382a594dbcae1c2618a75e891110..9fb3aad0c3fa95cd06cf5f64dd0b4baf7cca2b48 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "util/util_aligned_malloc.h"
 
-#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ(0, (size_t)ptr % align)
+#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ((size_t)ptr % align, 0)
 
 CCL_NAMESPACE_BEGIN