Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/tificc/tificc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/tificc/tificc.c b/utils/tificc/tificc.c
index fab1c22..270a637 100644
--- a/utils/tificc/tificc.c
+++ b/utils/tificc/tificc.c
@@ -634,7 +634,11 @@ void WriteOutputTags(TIFF* out, int Colorspace, int BytesPerSample, int AlphaCha
}
if (PixelDepth == 32)
- TIFFSetField(out, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_IEEEFP);
+ TIFFSetField(out, TIFFTAG_SAMPLEFORMAT,
+ SAMPLEFORMAT_IEEEFP,
+ SAMPLEFORMAT_IEEEFP,
+ SAMPLEFORMAT_IEEEFP,
+ SAMPLEFORMAT_IEEEFP);
}
@@ -648,7 +652,7 @@ void CopyOtherTags(TIFF* in, TIFF* out)
short shortv;
- short compression;
+ unsigned short compression;
cmsUInt32Number ow, ol;
cmsFloat32Number floatv;
char *stringv;