Silence warning in automoc: use long instead of int

Alex
This commit is contained in:
Alex Neundorf 2011-08-18 19:34:49 +02:00
parent 1879bcc09c
commit 71165e943e
1 changed files with 1 additions and 1 deletions

View File

@ -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