small amd64 fixes: 64 bits size_type, signed chars

This commit is contained in:
dockes
2009-12-13 16:13:59 +00:00
parent 658a21d5ad
commit bf3ac8e053
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ bool MimeHandlerHtml::next_document()
// because the file was transcoded. It seems that just
// inserting one is enough (only the 1st one seems to
// be used by browsers/qtextedit).
unsigned int idx = m_html.find("<head>");
string::size_type idx = m_html.find("<head>");
if (idx == string::npos)
idx = m_html.find("<HEAD>");
if (idx != string::npos)