summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-07-24 15:19:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-07-24 15:19:42 (GMT)
commitecf914e6975b75166df2a0f36744221fe3b80899 (patch)
treefed23def8dcd0943d806ffe158d32e145f26e3bb /Source/kwsys/Glob.cxx
parent3776cfa0eb5bd7e6d6863b2e342aadc7739bf90f (diff)
downloadCMake-ecf914e6975b75166df2a0f36744221fe3b80899.zip
CMake-ecf914e6975b75166df2a0f36744221fe3b80899.tar.gz
CMake-ecf914e6975b75166df2a0f36744221fe3b80899.tar.bz2
ENH: move changes from main tree to release branch
Diffstat (limited to 'Source/kwsys/Glob.cxx')
-rw-r--r--Source/kwsys/Glob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Glob.cxx b/Source/kwsys/Glob.cxx
index f395126..15f0e71 100644
--- a/Source/kwsys/Glob.cxx
+++ b/Source/kwsys/Glob.cxx
@@ -338,7 +338,7 @@ bool Glob::FindFiles(const kwsys_stl::string& inexpr)
{
if ( cc > 0 && expr[cc] == '/' && expr[cc-1] != '\\' )
{
- last_slash = (int)cc;
+ last_slash = static_cast<int>(cc);
}
if ( cc > 0 &&
(expr[cc] == '[' || expr[cc] == '?' || expr[cc] == '*') &&