You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by de...@apache.org on 2002/06/12 15:03:33 UTC

cvs commit: xml-batik/sources/org/apache/batik/util Base64DecodeStream.java

deweese     2002/06/12 06:03:33

  Modified:    sources/org/apache/batik/util Base64DecodeStream.java
  Log:
  Fixed bug in 'read()' method (returned negative values).
  
  Revision  Changes    Path
  1.3       +2 -2      xml-batik/sources/org/apache/batik/util/Base64DecodeStream.java
  
  Index: Base64DecodeStream.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/util/Base64DecodeStream.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Base64DecodeStream.java	5 Jul 2001 16:54:47 -0000	1.2
  +++ Base64DecodeStream.java	12 Jun 2002 13:03:33 -0000	1.3
  @@ -94,7 +94,7 @@
               }
           }
   
  -        return out_buffer[out_offset++];
  +        return ((int)out_buffer[out_offset++])&0xFF;
       }
   
       public int read(byte []out, int offset, int len) 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org