Update of /cvsroot/audacity/audacity-src/src/commands
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9106/src/commands

Modified Files:
        Validators.h 
Log Message:
Return value of wxString.Len() is size_t, so we should use that type for this 
as well


Index: Validators.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/Validators.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Validators.h        11 Dec 2009 21:53:31 -0000      1.4
+++ Validators.h        11 Dec 2009 22:42:10 -0000      1.5
@@ -149,7 +149,7 @@
       if (!v.Convert(&val)) 
          return false;
       SetConverted(val);   
-      for(unsigned int i=0; i != val.Len(); i++)
+      for(size_t i=0; i != val.Len(); i++)
          if( val[i] != '0' && val[i] != '1' && val[i] != 'x' && val[i] != 'X')
             return false;
       return true;


------------------------------------------------------------------------------
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

Reply via email to