Fix a bunch of conversion warnings #197

This commit is contained in:
Kyle Fuller
2012-08-13 05:02:18 +07:00
parent e54f423ace
commit 67299ebfa8
36 changed files with 168 additions and 155 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ void CTemplateOptions::Parse(const CString& sLine) {
}
CTemplate* CTemplateLoopContext::GetRow(unsigned int uIndex) {
unsigned int uSize = m_pvRows->size();
size_t uSize = m_pvRows->size();
if (uIndex < uSize) {
if (m_bReverse) {
@@ -304,7 +304,7 @@ bool CTemplate::Print(const CString& sFileName, ostream& oOut) {
uLineNum++;
CString::size_type iPos = 0;
uCurPos = uFilePos;
unsigned int uLineSize = sLine.size();
CString::size_type uLineSize = sLine.size();
bool bBroke = false;
while (1) {