8183544: Missing parentheses in is_size_aligned_ macro

Reviewed-by: mgerdin, tschatzl
This commit is contained in:
Stefan Karlsson 2017-07-04 17:44:30 +02:00
parent d37b9c1f8d
commit aad59744c5

View File

@ -518,7 +518,7 @@ const bool support_IRIW_for_not_multiple_copy_atomic_cpu = false;
#define align_up_(size, alignment) (align_down_((size) + align_mask(alignment), (alignment)))
#define is_aligned_(size, alignment) ((size) == (align_up_(size, alignment)))
#define is_aligned_(size, alignment) ((size) == (align_up_((size), (alignment))))
// Temporary declaration until this file has been restructured.
template <typename T>