unsigned -> size_t for string::find returns

This commit is contained in:
Glenn Maynard
2004-06-16 07:01:12 +00:00
parent f48ba0fde4
commit 47d43cee82
7 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ void ReplaceText( CString &Text, const map<CString,CString> &m )
for(map<CString,CString>::const_iterator it = m.begin(); it != m.end(); ++it)
{
unsigned start = 0;
size_t start = 0;
while(1)
{
unsigned pos = txt.find(it->first, start);