From b5c339c1527acc6d14ca86055e4a4081cc4fb00e Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Wed, 2 Nov 2011 12:18:23 +0100 Subject: Memory alignment macro for CGATS parser --- src/cmserr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmserr.c') diff --git a/src/cmserr.c b/src/cmserr.c index bfd2bd0..5f93c16 100644 --- a/src/cmserr.c +++ b/src/cmserr.c @@ -327,7 +327,7 @@ void* _cmsSubAlloc(_cmsSubAllocator* sub, cmsUInt32Number size) cmsUInt32Number Free = sub -> h ->BlockSize - sub -> h -> Used; cmsUInt8Number* ptr; - size = _cmsALIGNLONG(size); + size = _cmsALIGNMEM(size); // Check for memory. If there is no room, allocate a new chunk of double memory size. if (size > Free) { -- cgit v1.2.1