Skip to content

Commit 0cfa3bb

Browse files
committed
Unify implementation of ALIGN_UP macro across tests and library
Signed-off-by: Łukasz Plewa <lukasz.plewa@intel.com>
1 parent 69ac4c8 commit 0cfa3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/test_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static inline void UT_OUT(const char *format, ...) {
7171
0)))
7272

7373
#ifndef ALIGN_UP
74-
#define ALIGN_UP(size, align) (((size) + (align)-1) & ~((align)-1))
74+
#define ALIGN_UP(value, align) (((value) + (align)-1) & ~((align)-1))
7575
#endif
7676

7777
int bufferIsFilledWithChar(void *ptr, size_t size, char c);

0 commit comments

Comments
 (0)