X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tool%2Fcompiler.cpp;h=b7f310c9c556d0deb3b0dac2b803049fa7868875;hb=HEAD;hp=8360ee6ce35931b52f5867bfb75ffdddeb713df1;hpb=256b44a5009467171af53316141277027bcc0ba4;p=libs%2Fdatafile.git diff --git a/tool/compiler.cpp b/tool/compiler.cpp index 8360ee6..b7f310c 100644 --- a/tool/compiler.cpp +++ b/tool/compiler.cpp @@ -170,7 +170,7 @@ void ForEach::finish() { bool match = false; for(list::const_iterator j = patterns.begin(); (j!=patterns.end() && !match); ++j) - match = Regex(*j).match(f); + match = static_cast(Regex(*j).match(f)); for(list::const_iterator j = excludes.begin(); (j!=excludes.end() && match); ++j) match = !Regex(*j).match(f); if(match)