[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20001116: Another GARP bug



------- Forwarded Message

>To: address@hidden
>From: Harry Edmon <address@hidden>
>Subject: Another GARP bug
>Organization: UCAR/Unidata
>Keywords: 200011160116.eAG1GEo02139

garp crashes on the Compaq alpha machines when you load a satellite image.  The
following patch to comet/garp/gempak/imgcolormod.c fixes the problem:

*** imgcolormod.c.dst   Thu Jan 29 13:41:48 1998
--- imgcolormod.c       Wed Nov 15 16:57:40 2000
***************
*** 26,32 ****
  
  int           ncolors = 0;
  int           current_cbank = 0;
! unsigned long colindex [256];
  Colormap      cmap;
  Display               *display;
  XColor                base_colors [256];
--- 26,32 ----
  
  int           ncolors = 0;
  int           current_cbank = 0;
! unsigned int  colindex [256];
  Colormap      cmap;
  Display               *display;
  XColor                base_colors [256];



--
Dr. Harry Edmon                 E-MAIL: address@hidden
(206) 543-0547                  FAX:    (206) 543-0308
Dept of Atmospheric Sciences
University of Washington, Box 351640, Seattle, WA 98195-1640


------- End of Forwarded Message