Accept int-to-float conversion in array signature
authorMikko Rasa <tdb@tdb.fi>
Fri, 19 Dec 2014 03:34:44 +0000 (05:34 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 19 Dec 2014 03:34:44 +0000 (05:34 +0200)
source/loader.cpp

index d987a9e..8137068 100644 (file)
@@ -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;