瀏覽代碼

Silence warning in automoc: use long instead of int

Alex
Alex Neundorf 14 年之前
父節點
當前提交
71165e943e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmQtAutomoc.cxx

+ 1 - 1
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