fix warning

This commit is contained in:
Glenn Maynard
2005-10-07 01:45:48 +00:00
parent c904417448
commit 775273cef4
+1 -1
View File
@@ -941,7 +941,7 @@ bool Regex::Replace(const CString &replacement, const CString &subject, CString
out = replacement;
// TODO: optimize me by iterating only once over the string
for( int i=0; i<matches.size(); i++ )
for( unsigned i=0; i<matches.size(); i++ )
{
CString sFrom = ssprintf( "\\${%d}", i );
CString sTo = matches[i];