Fix clang unsequenced modification warning

This commit is contained in:
Anton Blanchard 2023-01-08 07:47:44 +11:00 committed by Tim Edwards
parent c276110daa
commit 954418d6d8
1 changed files with 6 additions and 3 deletions

View File

@ -321,9 +321,12 @@ PlotDumpHPRTL(hpfile, kRaster, cRaster, mRaster, yRaster)
/* Merge the black plane into C, M, and Y */
for (count = 0; count < ipl; count++)
{
*c++ = (*c | *k);
*m++ = (*m | *k);
*y++ = (*y | *k);
*c = (*c | *k);
*m = (*m | *k);
*y = (*y | *k);
c++;
m++;
y++;
k++;
}