Yes,
This was a change I made to internals.h. I've looked at the code that
you refer to, and this is another place where somebody's code is
correct, but internals.h was wrong. Since CLRMAP is defined as an (X)
Colormap, and now with internals.h defining cmap as a Colormap, the
(ArrayHandle) cast should be removed. So the corrected code should
just be
ret->cmap = CLRMAP;
David
A compile of the most recent CVS revision
on my Irix system has trouble with one line (185)
in hwPortOGL.c:
ret->cmap = (ArrayHandle)CLRMAP;
compiler doesn't like the fact that
cmap is of type (Colormap). A simple
type cast fixes the problem and doesn't seem to
break my test net. Since the file hasn't
been modified in a long time, I'm guessing there
has been a change somewhere in the colormap code
that caused the problem. Does this sound familiar to anyone?
Richard
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530