Windows msvc: rename dirent.h->msvc_dirent.h. mh_text: fix mimeconf-win and warning

This commit is contained in:
Jean-Francois Dockes
2020-08-15 10:12:36 +01:00
parent 9bc49866e5
commit d9c1a9648c
7 changed files with 42 additions and 27 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ bool MimeHandlerText::readnext()
return false;
}
} else {
m_text = m_alltext.substr(m_offs, m_pagesz);
m_text = m_alltext.substr((size_t)m_offs, m_pagesz);
}
if (m_text.length() == 0) {