This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gui] Fix IndexColorModel constructor params


From Paul Jenner:

2004-11-06 Paul Jenner <psj.home@ntlworld.com>

	* java/awt/image/IndexColorModel.java (IndexColorModel): Fix
	constructor.

Index: IndexColorModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/image/IndexColorModel.java,v
retrieving revision 1.6.14.4
retrieving revision 1.6.14.5
diff -u -r1.6.14.4 -r1.6.14.5
--- IndexColorModel.java	1 Oct 2004 04:20:11 -0000	1.6.14.4
+++ IndexColorModel.java	6 Nov 2004 05:13:27 -0000	1.6.14.5
@@ -211,7 +211,7 @@
    * @param trans the index of the transparent color
    * @param transferType DataBuffer.TYPE_BYTE or DataBuffer.TYPE_USHORT
    */
-  public IndexColorModel (int bits, int size, byte[] cmap, int start,
+  public IndexColorModel (int bits, int size, int[] cmap, int start,
                           boolean hasAlpha, int trans, int transferType)
   {
     super(bits * 4, // total bits, sRGB, four channels


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]