From 920a046015799a14374e5c69072aa14f2723fda0 Mon Sep 17 00:00:00 2001 From: David Cole Date: Fri, 19 Aug 2011 14:16:53 -0400 Subject: [PATCH] QtAutomoc: Eliminate compiler warning --- Source/cmQtAutomoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx index e5dc3df62..ff96e5b9f 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