From 1d0c8809bb8185d31c73fe57108a6004dd57d13f Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Wed, 28 Aug 2013 22:25:29 -0700 Subject: [PATCH] Fixed comment. --- include/bx/allocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bx/allocator.h b/include/bx/allocator.h index 8e2467d..c3af991 100644 --- a/include/bx/allocator.h +++ b/include/bx/allocator.h @@ -34,7 +34,7 @@ namespace bx { - /// Aligns pointer to nearest next aligned address. _align + /// Aligns pointer to nearest next aligned address. _align must be power of two. inline void* alignPtr(void* _ptr, size_t _extra, size_t _align = BX_CONFIG_ALLOCATOR_NATURAL_ALIGNMENT) { union { void* ptr; size_t addr; } un; @@ -46,7 +46,7 @@ namespace bx return un.ptr; } - /// Check if pointer is aligned. _align must be power of two value. + /// Check if pointer is aligned. _align must be power of two. inline bool isPtrAligned(const void* _ptr, size_t _align = BX_CONFIG_ALLOCATOR_NATURAL_ALIGNMENT) { union { const void* ptr; size_t addr; } un;