Browse Source

- added hex-code for offset output

pull/3/head
Andreas Romeyke 4 years ago
parent
commit
8dad0ffe35
  1. 2
      src/validate_icc/check_icc_header.c

2
src/validate_icc/check_icc_header.c

@ -27,7 +27,7 @@ int parse_icc_header_v240_v430(unsigned long iccsize, char * iccdata, unsigned l
(iccdata[3] & 0x00ff)
) & 0xffff;
INFO("ICC: profilesize=%li %0x\n", profilesize, profilesize);
if (profilesize != iccsize) FAIL("commited ICC size (%li) differs from encoded profilesize (%li)", iccsize, profilesize);
if (profilesize != iccsize) FAIL("commited ICC size (%li / 0x%04x) differs from encoded profilesize (%li / 0x%04x)", iccsize, iccsize, profilesize, profilesize);
/* -- */
char preferredcmmtype[5]=" "; memcpy(preferredcmmtype, &iccdata[4],4);
INFO("ICC: preferredcmmtype='%s'\n", preferredcmmtype);

Loading…
Cancel
Save