X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=tool%2Fcompiler.cpp;fp=tool%2Fcompiler.cpp;h=b7f310c9c556d0deb3b0dac2b803049fa7868875;hp=8360ee6ce35931b52f5867bfb75ffdddeb713df1;hb=ba4f1d00c781258a1a4e8036676e0d9ecf602533;hpb=daca21051927eabee098e422fe5a0990acacfb96 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)