On Fri, 2009-12-11 at 21:53 +0000, Al Dimond wrote: > Index: Validators.h > =================================================================== > RCS file: /cvsroot/audacity/audacity-src/src/commands/Validators.h,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -d -r1.3 -r1.4 > --- Validators.h 11 Dec 2009 18:58:05 -0000 1.3 > +++ Validators.h 11 Dec 2009 21:53:31 -0000 1.4 > @@ -149,7 +149,7 @@ > if (!v.Convert(&val)) > return false; > SetConverted(val); > - for(int i=0; i != val.Len(); i++) > + for(unsigned int i=0; i != val.Len(); i++) > if( val[i] != '0' && val[i] != '1' && val[i] != 'x' && val[i] != > 'X') > return false; > return true;
wxString.Len() returns size_t, so using that typedef would be more correct (because on some platform it might be unsigned long int, or even a signed type if the designer had an off day). Richard ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs