+2000-02-14 Dave Love <fx@gnu.org>
+
+ * xfaces.c (tty_defined_color): Declare color_idx unsigned long.
+
2000-02-14 Stefan Monnier <monnier@cs.yale.edu>
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
int alloc;
{
Lisp_Object color_desc;
- int color_idx = FACE_TTY_DEFAULT_COLOR, red = 0, green = 0, blue = 0;
+ unsigned long color_idx = FACE_TTY_DEFAULT_COLOR,
+ red = 0, green = 0, blue = 0;
int status = 1;
if (*color_name && !NILP (Ffboundp (Qtty_color_desc)))
color_idx = FACE_TTY_DEFAULT_BG_COLOR;
}
- color_def->pixel = (unsigned long) color_idx;
+ color_def->pixel = color_idx;
color_def->red = red;
color_def->green = green;
color_def->blue = blue;