summaryrefslogtreecommitdiff
path: root/lcms2mt
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-05-06 12:11:05 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-05-06 17:40:05 +0100
commit6d7c22dd453515d3f3f74af695a08abed26f657b (patch)
treee2ad15ccc12978f1bf33a60ba301969946bb738f /lcms2mt
parent1ad7ac685aa07b1dceb0bf9e28e68a47492fb920 (diff)
downloadghostpdl-6d7c22dd453515d3f3f74af695a08abed26f657b.tar.gz
lgtm.com fixes for ghostscript.
Avoid using the same header include guard in more than one file. Use the correct format specifier in a printf-like error string in lcms2mt.
Diffstat (limited to 'lcms2mt')
-rw-r--r--lcms2mt/src/cmsio0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcms2mt/src/cmsio0.c b/lcms2mt/src/cmsio0.c
index 03b35e494..7fa5b1a9c 100644
--- a/lcms2mt/src/cmsio0.c
+++ b/lcms2mt/src/cmsio0.c
@@ -266,7 +266,7 @@ cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buff
_cmsFree(ContextID, fm);
_cmsFree(ContextID, iohandler);
- cmsSignalError(ContextID, cmsERROR_READ, "Couldn't allocate %ld bytes for profile", size);
+ cmsSignalError(ContextID, cmsERROR_READ, "Couldn't allocate %d bytes for profile", size);
return NULL;
}