]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixed compile err
authorKeiron Liddle <keiron@apache.org>
Tue, 18 Jun 2002 13:41:09 +0000 (13:41 +0000)
committerKeiron Liddle <keiron@apache.org>
Tue, 18 Jun 2002 13:41:09 +0000 (13:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194896 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/image/JAIImage.java

index e5e15bc6254b3a3579a79cb2163370f86c713e6f..54c288e2ff8cbd65973c6d9b49f53f089545c1a1 100644 (file)
@@ -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);