aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-06-18 13:41:09 +0000
committerKeiron Liddle <keiron@apache.org>2002-06-18 13:41:09 +0000
commitcbe70a4651e22c71872a1e300c75bceb3727ff9a (patch)
tree189b31b6b81cd408480f429d2a285d744c7eeba1
parentf8dd11e5548f4b8e8b596cd46585e83d095a46cc (diff)
downloadxmlgraphics-fop-cbe70a4651e22c71872a1e300c75bceb3727ff9a.tar.gz
xmlgraphics-fop-cbe70a4651e22c71872a1e300c75bceb3727ff9a.zip
fixed compile err
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194896 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/org/apache/fop/image/JAIImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/image/JAIImage.java b/src/org/apache/fop/image/JAIImage.java
index e5e15bc62..54c288e2f 100644
--- a/src/org/apache/fop/image/JAIImage.java
+++ b/src/org/apache/fop/image/JAIImage.java
@@ -125,8 +125,8 @@ public class JAIImage extends AbstractFopImage {
for (int i = 0; i < this.m_height; i++) {
for (int j = 0; j < this.m_width; j++) {
int p = tmpMap[i * this.m_width + j];
- int r = (p > > 16) & 0xFF;
- int g = (p > > 8) & 0xFF;
+ int r = (p >> 16) & 0xFF;
+ int g = (p >> 8) & 0xFF;
int b = (p) & 0xFF;
this.m_bitmaps[3 * (i * this.m_width + j)] =
(byte)(r & 0xFF);