diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-18 17:34:49 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-18 17:34:49 (GMT) |
commit | 71165e943edb3ba80a0533a640ff6abffb4bcf64 (patch) | |
tree | 5717900a6f2630d4b99bef8f868f94a30c75ee00 /Source | |
parent | 1879bcc09cb180efec041ccd5b1e42c47b790084 (diff) | |
download | CMake-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.cxx | 2 |
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 |