summaryrefslogtreecommitdiff
path: root/gs/contrib
diff options
context:
space:
mode:
authorAlex Cherepanov <alex.cherepanov@artifex.com>2009-12-20 18:54:08 +0000
committerAlex Cherepanov <alex.cherepanov@artifex.com>2009-12-20 18:54:08 +0000
commit9e3fb0fd103c5a83d782360565e4bec5411820a2 (patch)
treedd05d0f06d91562c826f52d36a6937a1a4bf0e44 /gs/contrib
parent7d143b7035dac806a37a31e06d2cc3c1576fcf38 (diff)
Fix a Coverity warning about an expression with undefined order of evaluation.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10537 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/contrib')
-rw-r--r--gs/contrib/pcl3/eprn/eprnrend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/contrib/pcl3/eprn/eprnrend.c b/gs/contrib/pcl3/eprn/eprnrend.c
index 4b04d1f89..ed611af7b 100644
--- a/gs/contrib/pcl3/eprn/eprnrend.c
+++ b/gs/contrib/pcl3/eprn/eprnrend.c
@@ -975,7 +975,7 @@ static void split_line_4x2(eprn_Device *dev, const eprn_Octet *line,
if (k != 0) {
int shift = 8 - k;
for (j = 0; j < 8; j++)
- *(ptr[j]++) = *ptr[j] << shift;
+ *(ptr[j]++) <<= shift;
}
/* Set the lengths of the bit plane strings */