summaryrefslogtreecommitdiffstats
path: root/Source/cmDirectory.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
commit809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch)
treecbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmDirectory.h
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmDirectory.h')
-rw-r--r--Source/cmDirectory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDirectory.h b/Source/cmDirectory.h
index ec8a9b7..de5420d 100644
--- a/Source/cmDirectory.h
+++ b/Source/cmDirectory.h
@@ -42,12 +42,12 @@ public:
/**
* Return the number of files in the current directory.
*/
- std::vector<std::string>::size_type GetNumberOfFiles() { return m_Files.size();}
+ size_t GetNumberOfFiles() { return m_Files.size();}
/**
* Return the file at the given index, the indexing is 0 based
*/
- const char* GetFile(unsigned int index);
+ const char* GetFile(size_t );
private:
std::vector<std::string> m_Files; // Array of Files