diff options
author | Marti Maria <info@littlecms.com> | 2010-09-17 08:58:06 +0200 |
---|---|---|
committer | Marti Maria <info@littlecms.com> | 2010-09-17 08:58:06 +0200 |
commit | 9e476cd747f18b6306abc1329050a564dc725b0d (patch) | |
tree | 5d65416f2a8e3c6fc633a1fe3095672306b72be0 /testbed | |
parent | 60b8b17bd7a9b77e00528c623f6f95a3541be649 (diff) | |
download | lcms2-9e476cd747f18b6306abc1329050a564dc725b0d.tar.gz |
Fixed bug in CSA generation
Fixed Mac endianess issue
Diffstat (limited to 'testbed')
-rw-r--r-- | testbed/testcms2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testbed/testcms2.c b/testbed/testcms2.c index 1fff6c0..679bf53 100644 --- a/testbed/testcms2.c +++ b/testbed/testcms2.c @@ -2361,7 +2361,7 @@ cmsInt32Number CheckGammaWordTable(cmsFloat64Number g) for (i=0; i <= 1024; i++) { in = (cmsFloat32Number) (i / 1024.0); - Values[i] = (cmsUInt16Number) floor(powf(in, g) * 65535.0 + 0.5); + Values[i] = (cmsUInt16Number) floor(pow(in, g) * 65535.0 + 0.5); } Curve = cmsBuildTabulatedToneCurve16(DbgThread(), 1025, Values); @@ -7305,7 +7305,7 @@ void CheckProfileZOO(void) { struct _finddata_t c_file; - long hFile; + intptr_t hFile; cmsSetLogErrorHandler(NULL); |