  	  sizeof(jas_icctagtabent_t))))
  		goto error;
  	tagtabent = tagtab->ents;
-@@ -743,8 +742,7 @@ static int jas_iccattrtab_resize(jas_iccattrtab_t *tab, int maxents)
+@@ -743,8 +743,7 @@ static int jas_iccattrtab_resize(jas_iccattrtab_t *tab, int maxents)
  {
  	jas_iccattr_t *newattrs;
  	assert(maxents >= tab->numattrs);

 	  sizeof(jas_iccuint8_t *))))
 		goto error;
 	for (i = 0; i < lut8->numoutchans; ++i)
@@ -1330,7 +1324,6 @@ static int jas_icclut8_input(jas_iccattrval_t *attrval, jas_stream_t *in,
 		goto error;
 	return 0;
 error:

 	return -1;
 }
 
@@ -1292,17 +1287,17 @@ static int jas_icclut8_input(jas_iccattrval_t *attrval, jas_stream_t *in,
 	  jas_iccgetuint16(in, &lut8->numouttabents))
 		goto error;
 	clutsize = jas_iccpowi(lut8->clutlen, lut8->numinchans) * lut8->numoutchans;
