# HG changeset patch # User Dave Love # Date 950551366 0 # Node ID 68feb13f957297f85e560c811d99ab0ab710863a # Parent 5c14849aee4cbe9a1b4619293618027a8055eba0 (tty_defined_color): Declare color_idx unsigned long. diff -r 5c14849aee4c -r 68feb13f9572 src/xfaces.c --- a/src/xfaces.c Mon Feb 14 17:04:17 2000 +0000 +++ b/src/xfaces.c Mon Feb 14 18:02:46 2000 +0000 @@ -1085,7 +1085,8 @@ 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))) @@ -1121,7 +1122,7 @@ 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;