From: Mikko Rasa Date: Fri, 19 Dec 2014 03:34:44 +0000 (+0200) Subject: Accept int-to-float conversion in array signature X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f822f8962b1d9043b7c72492227dabbb9fd122da;p=libs%2Fdatafile.git Accept int-to-float conversion in array signature --- diff --git a/source/loader.cpp b/source/loader.cpp index d987a9e..8137068 100644 --- a/source/loader.cpp +++ b/source/loader.cpp @@ -24,7 +24,7 @@ bool signature_match(const string &st_sig, const string &act_sig) else if(act_sig.size()==2 && act_sig[1]=='*') { for(string::const_iterator i=st_sig.begin(); i!=st_sig.end(); ++i) - if(*i!=act_sig[0]) + if(!signature_match(*i, act_sig[0])) return false; return true;