summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-18 17:34:49 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-18 17:34:49 (GMT)
commit71165e943edb3ba80a0533a640ff6abffb4bcf64 (patch)
tree5717900a6f2630d4b99bef8f868f94a30c75ee00 /Source
parent1879bcc09cb180efec041ccd5b1e42c47b790084 (diff)
downloadCMake-71165e943edb3ba80a0533a640ff6abffb4bcf64.zip
CMake-71165e943edb3ba80a0533a640ff6abffb4bcf64.tar.gz
CMake-71165e943edb3ba80a0533a640ff6abffb4bcf64.tar.bz2
Silence warning in automoc: use long instead of int
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutomoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index 7dd450e..e5dc3df 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())) + '/';
- int matchOffset = 0;
+ long matchOffset = 0;
if (!mocIncludeRegExp.find(contentsString.c_str()))
{
// no moc #include, look whether we need to create a moc from