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

3:   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h"   #include "array.h"   #include "multiset.h"
16:   #include "gc.h"   #include "security.h"    - RCSID("$Id: multiset.c,v 1.26 2000/07/28 17:16:55 hubbe Exp $"); + RCSID("$Id: multiset.c,v 1.27 2000/08/23 18:53:47 grubba Exp $");      struct multiset *first_multiset;   
228:    }    }    -  sprintf(buf, l->ind->size == 1 ? "(< /* %ld element */\n" : -  "(< /* %ld elements */\n", -  (long)l->ind->size); +  if (l->ind->size == 1) { +  my_strcat("(< /* 1 element */\n"); +  } else { +  sprintf(buf, "(< /* %ld elements */\n", (long)l->ind->size);    my_strcat(buf); -  +  }    describe_array_low(l->ind,&doing,indent);    my_putchar('\n');    for(e=2; e<indent; e++) my_putchar(' ');