Index: src/ch/FileInfo.h =================================================================== diff -u -r3493e9fc470285b0a0b417d50be281467a071eb7 -r025757ce5252abbb6dfd81f8f254e419f9520a09 --- src/ch/FileInfo.h (.../FileInfo.h) (revision 3493e9fc470285b0a0b417d50be281467a071eb7) +++ src/ch/FileInfo.h (.../FileInfo.h) (revision 025757ce5252abbb6dfd81f8f254e419f9520a09) @@ -316,12 +316,32 @@ int AddFile(CString strFilePath, int iSrcIndex); // store/restore - void Store(CArchive& ar) { int iSize=GetSize(); ar<>iSize; SetSize(iSize, 5000); CFileInfo fi; fi.SetClipboard(m_pClipboard); - for (int i=0;i>iSize; + SetSize(iSize, 5000); + CFileInfo fi; + fi.SetClipboard(m_pClipboard); + for (INT_PTR i=0;iLoadString(prop_text)), 0); @@ -83,7 +83,7 @@ m_ctlProperties.AddString(text, ID_PROPERTY_PATH, (value)+CString(GetResManager()->LoadString(prop_text)), 0); #define PROP_CUSTOM_UINT(text, value, callback, param)\ - m_ctlProperties.AddString(text, ID_PROPERTY_CUSTOM, CString(_itot(PtrToInt(value), m_szBuffer, 10)), callback, this, param, 0); + m_ctlProperties.AddString(text, ID_PROPERTY_CUSTOM, CString(_itot((int)(value), m_szBuffer, 10)), callback, this, param, 0); #define SKIP_SEPARATOR(pos)\ pos++; Index: src/chext/MenuExt.cpp =================================================================== diff -u -rb5f6c00d1615afa6d26e4d74e564afe0af893174 -r025757ce5252abbb6dfd81f8f254e419f9520a09 --- src/chext/MenuExt.cpp (.../MenuExt.cpp) (revision b5f6c00d1615afa6d26e4d74e564afe0af893174) +++ src/chext/MenuExt.cpp (.../MenuExt.cpp) (revision 025757ce5252abbb6dfd81f8f254e419f9520a09) @@ -33,7 +33,7 @@ void CutAmpersands(LPTSTR lpszString) { int iOffset=0; - int iLength=_tcslen(lpszString); + size_t iLength=_tcslen(lpszString); for (int j=0;j