Index: src/chext/ActionSelector.cpp =================================================================== diff -u -N -r0373359eff650e8cf04a5992711ef9f20347536f -r68739164e349c34dcd0bcb36c6eb381f23cb8b77 --- src/chext/ActionSelector.cpp (.../ActionSelector.cpp) (revision 0373359eff650e8cf04a5992711ef9f20347536f) +++ src/chext/ActionSelector.cpp (.../ActionSelector.cpp) (revision 68739164e349c34dcd0bcb36c6eb381f23cb8b77) @@ -154,16 +154,16 @@ TCHAR* pFnd = _tcsstr(szPath+2, _T("\\")); if(pFnd) { - int iCount; + size_t stCount; // find another TCHAR *pSecond = _tcsstr(pFnd + 1, _T("\\")); if(pSecond) - iCount = pSecond - szPath; + stCount = pSecond - szPath; else - iCount = _tcslen(szPath); + stCount = _tcslen(szPath); // found - compare - if(_tcsnicmp(szPath, pszDestinationPath, iCount) == 0) + if(_tcsnicmp(szPath, pszDestinationPath, stCount) == 0) m_eDefaultOperation = eAction_Move; } }