diff options
author | Oliver Schneider <oliver@assarbad.net> | 2010-12-26 02:49:31 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2010-12-26 02:49:31 +0300 |
commit | 883e93ee73aa0c0bf3a994bb945f544d2a549a26 (patch) | |
tree | 6f795649de5154a5548537333dd714578470140c /windirstat/windirstat.cpp | |
parent | f29e4b769b8f96a32a0e417db079593fe3656bb5 (diff) |
- Fixing warning in x64 build
Diffstat (limited to 'windirstat/windirstat.cpp')
-rw-r--r-- | windirstat/windirstat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windirstat/windirstat.cpp b/windirstat/windirstat.cpp index 91b926d..97ea26e 100644 --- a/windirstat/windirstat.cpp +++ b/windirstat/windirstat.cpp @@ -251,11 +251,11 @@ bool CDirstatApp::ScanAuxiliaryFileName(LPCTSTR prefix, LPCTSTR suffix, LPCTSTR CString s(name); // [prefix][lngcode].[suffix] s.MakeLower(); - if(s.Left(_tcslen(prefix)) != prefix) + if(s.Left(((int)_tcslen(prefix))) != prefix) { return false; } - s = s.Mid(_tcslen(prefix)); // remove prefix from the front -> [lngcode].[suffix] + s = s.Mid(((int)_tcslen(prefix))); // remove prefix from the front -> [lngcode].[suffix] if(s.GetLength() != (iLangCodeLength + ((int)_tcslen(suffix)))) { |