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
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2014-02-12 15:21:45 +0400
committerMarti Maria <info@littlecms.com>2014-02-12 15:21:45 +0400
commit078665ecf29b6a9ca31803e6ebd12f22f3da9961 (patch)
treed5036b7a482babdd8d99a693f3edeabf6877f1c1 /utils/jpgicc
parent579b3aad051b9fcf858ea308f9d8f6714f84c7a8 (diff)
Merge from Artifex branchlcms2.6rc0
Diffstat (limited to 'utils/jpgicc')
-rw-r--r--utils/jpgicc/jpgicc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/utils/jpgicc/jpgicc.c b/utils/jpgicc/jpgicc.c
index 3b18b54..e129a77 100644
--- a/utils/jpgicc/jpgicc.c
+++ b/utils/jpgicc/jpgicc.c
@@ -72,13 +72,6 @@ static struct my_error_mgr {
cmsUInt16Number Alarm[4] = {128,128,128,0};
-// Out of mem
-static
-void OutOfMem(size_t size)
-{
- FatalError("Out of memory on allocating %d bytes.", size);
-}
-
static
void my_error_exit (j_common_ptr cinfo)
@@ -840,7 +833,7 @@ void DoEmbedProfile(const char* ProfileFile)
fclose(f);
EmbedBuffer[EmbedLen] = 0;
- write_icc_profile (&Compressor, EmbedBuffer, EmbedLen);
+ write_icc_profile (&Compressor, EmbedBuffer, (unsigned int) EmbedLen);
free(EmbedBuffer);
}