Branch: Tag:

2000-08-23

2000-08-23 19:00:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/gc.c:1.126
Rev: src/interpret.h:1.65
Rev: src/modules/Image/blit.c:1.48
Rev: src/modules/Image/colortable_lookup.h:1.13
Rev: src/modules/Image/matrix.c:1.29
Rev: src/modules/Parser/html.c:1.115
Rev: src/multiset.c:1.27

1: - /* $Id: blit.c,v 1.47 2000/08/15 12:40:57 grubba Exp $ */ + /* $Id: blit.c,v 1.48 2000/08/23 18:57:27 grubba Exp $ */   #include "global.h"      /*   **! module Image   **! note - **! $Id: blit.c,v 1.47 2000/08/15 12:40:57 grubba Exp $ + **! $Id: blit.c,v 1.48 2000/08/23 18:57:27 grubba Exp $   **! class Image   */   
106:    img->rgb.g=(unsigned char)sp[1-args+args_start].u.integer;    img->rgb.b=(unsigned char)sp[2-args+args_start].u.integer;    -  if (max > 3 && args-args_start>=4) -  if (sp[3-args+args_start].type!=T_INT) +  if (max > 3 && args-args_start>=4) { +  if (sp[3-args+args_start].type!=T_INT) {    error("Illegal alpha argument to %s\n",name); -  else -  { +  }    img->alpha=sp[3-args+args_start].u.integer;    return 4;    } -  else -  { +     img->alpha=0;    return 3;   } - } +          /*** end internals ***/