[PD-cvs] externals/moocow/pdstring/src string2any.c,1.2,1.3

Bryan Jurish mukau at users.sourceforge.net
Fri Aug 3 15:15:40 CEST 2007


Update of /cvsroot/pure-data/externals/moocow/pdstring/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22205/src

Modified Files:
	string2any.c 
Log Message:
+ eliminate signed<->unsigned comparison in any2string.c

Index: string2any.c
===================================================================
RCS file: /cvsroot/pure-data/externals/moocow/pdstring/src/string2any.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** string2any.c	26 Jul 2007 12:20:50 -0000	1.2
--- string2any.c	3 Aug 2007 13:15:38 -0000	1.3
***************
*** 92,96 ****
  
    /*-- allocate --*/
!   if (x->x_size <= (argc+1)) {
      freebytes(x->x_text, x->x_size*sizeof(char));
      x->x_size = argc+1;
--- 92,96 ----
  
    /*-- allocate --*/
!   if ( ((int)x->x_size) <= (argc+1) ) {
      freebytes(x->x_text, x->x_size*sizeof(char));
      x->x_size = argc+1;





More information about the Pd-cvs mailing list