diff options
author | David Cole <david.cole@kitware.com> | 2011-08-19 18:16:53 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-08-19 18:18:11 (GMT) |
commit | 920a046015799a14374e5c69072aa14f2723fda0 (patch) | |
tree | 551eed62768e626a11cee28fc4b7de582831af86 /Source | |
parent | b00463f06c80529f02c489872458345790f6cd48 (diff) | |
download | CMake-920a046015799a14374e5c69072aa14f2723fda0.zip CMake-920a046015799a14374e5c69072aa14f2723fda0.tar.gz CMake-920a046015799a14374e5c69072aa14f2723fda0.tar.bz2 |
QtAutomoc: Eliminate compiler warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutomoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx index e5dc3df..ff96e5b 100644 --- a/Source/cmQtAutomoc.cxx +++ b/Source/cmQtAutomoc.cxx @@ -519,7 +519,7 @@ void cmQtAutomoc::ParseCppFile(const std::string& absFilename, const std::string absPath = cmsys::SystemTools::GetFilenamePath( cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/'; - long matchOffset = 0; + std::string::size_type matchOffset = 0; if (!mocIncludeRegExp.find(contentsString.c_str())) { // no moc #include, look whether we need to create a moc from |