* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Feb 2011 03:13:16 +0000 (19:13 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Feb 2011 03:13:16 +0000 (19:13 -0800)
commit4c83cffccec286575d36b63e0183fed480726352
tree796617b45d929f15487fb28ac9395560ee65755d
parent82470039aeab10d2c6e374ef860c96e6ad610079
* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.

Emacs assumes two's complement elsewhere, but the assumption is
easy to remove here, and this suppresses a warning with Sun C 5.8.
src/ChangeLog
src/xterm.c