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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]