summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-12 13:21:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-12 13:21:26 (GMT)
commit2e1882389b5908d817a664bd617a5ffc2a8ddfa0 (patch)
treea27fa4d2a8603d44e7ad4b904e6e53d087aa97fb /Source/kwsys/Glob.cxx
parentdaa99e753d4c9c24d40c680012a825c1d704040a (diff)
downloadCMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.zip
CMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.tar.gz
CMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.tar.bz2
COMP: Remove warnings
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] == '*') &&