diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-05-06 12:11:05 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-05-06 17:40:05 +0100 |
commit | 6d7c22dd453515d3f3f74af695a08abed26f657b (patch) | |
tree | e2ad15ccc12978f1bf33a60ba301969946bb738f /lcms2mt | |
parent | 1ad7ac685aa07b1dceb0bf9e28e68a47492fb920 (diff) | |
download | ghostpdl-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.c | 2 |
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; } |