From 954418d6d888561f160660f675942491a05fd25f Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sun, 8 Jan 2023 07:47:44 +1100 Subject: [PATCH] Fix clang unsequenced modification warning --- plot/plotHP.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plot/plotHP.c b/plot/plotHP.c index 36842c91..76e08bab 100644 --- a/plot/plotHP.c +++ b/plot/plotHP.c @@ -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++; }