summaryrefslogtreecommitdiffstats
path: root/Source/cmAuxSourceDirectoryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-06-27 12:46:00 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-06-27 12:46:00 (GMT)
commitbab4bcb5707d99db18febcbf3746a191a7f9c9ec (patch)
tree3d896ae2100b4f477238228e1b339b0e1893b87a /Source/cmAuxSourceDirectoryCommand.cxx
parent7456fc360e97a71e001ea55f0f130a41c58642d2 (diff)
downloadCMake-bab4bcb5707d99db18febcbf3746a191a7f9c9ec.zip
CMake-bab4bcb5707d99db18febcbf3746a191a7f9c9ec.tar.gz
CMake-bab4bcb5707d99db18febcbf3746a191a7f9c9ec.tar.bz2
fix compiler warnings
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index e8d11e2..8829da6 100644
--- a/Source/cmAuxSourceDirectoryCommand.cxx
+++ b/Source/cmAuxSourceDirectoryCommand.cxx
@@ -49,7 +49,7 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& ar
size_t numfiles = dir.GetNumberOfFiles();
for(size_t i =0; i < numfiles; ++i)
{
- std::string file = dir.GetFile(i);
+ std::string file = dir.GetFile(static_cast<unsigned long>(i));
// Split the filename into base and extension
std::string::size_type dotpos = file.rfind(".");
if( dotpos != std::string::npos )