summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2011-06-28 18:26:59 +0200
committerMarti Maria <info@littlecms.com>2011-06-28 18:26:59 +0200
commit0e33a46a1a15c60b6e736122d36c44bbe0a15789 (patch)
tree9e7f64a26506c2b9c3034e9cf8e80abe5af4148c
parentccafb5390cf10234d07561f19c368c1edb2fd3f8 (diff)
downloadlcms2-0e33a46a1a15c60b6e736122d36c44bbe0a15789.tar.gz
Some architecturees does need aligned bus adresses (sparc) Fixed
-rw-r--r--testbed/testcms2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testbed/testcms2.c b/testbed/testcms2.c
index 9a96d17..13fd7fc 100644
--- a/testbed/testcms2.c
+++ b/testbed/testcms2.c
@@ -73,10 +73,10 @@ static cmsUInt32Number SingleHit, MaxAllocated=0, TotalMemory=0;
// I'm hidding the size before the block. This is a well-known technique and probably the blocks coming from
// malloc are built in a way similar to that, but I do on my own to be portable.
typedef struct {
- cmsUInt32Number KeepSize;
- cmsUInt32Number Align8;
- cmsContext WhoAllocated; // Some systems do need pointers aligned to 8-byte boundaries.
-
+ cmsUInt32Number KeepSize;
+ cmsContext WhoAllocated;
+ cmsUInt32Number Align8_1; // Some systems do need pointers aligned to 8-byte boundaries.
+ cmsUInt32Number Align8_2;
} _cmsMemoryBlock;
#define SIZE_OF_MEM_HEADER (sizeof(_cmsMemoryBlock))