Skip to content

Commit 7ad07ad

Browse files
committed
Fix argument order in ZMEYA_ALLOC macro definition
Correct the argument order in the ZMEYA_ALLOC macro to match the expected parameter order of the alloc_aligned_posix function
1 parent 1f1bde7 commit 7ad07ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zmeya.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ inline void* alloc_aligned_posix(size_t sizeInBytes, size_t alignment)
8383
}
8484
return ptr;
8585
}
86-
#define ZMEYA_ALLOC(sizeInBytes, alignment) alloc_aligned_posix(alignment, sizeInBytes)
86+
#define ZMEYA_ALLOC(sizeInBytes, alignment) alloc_aligned_posix(sizeInBytes, alignment)
8787
#define ZMEYA_FREE(ptr) free(ptr)
8888
#endif
8989
#endif

0 commit comments

Comments
 (0)