Really don't use false
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 18 Jun 2018 09:21:05 +0000 (12:21 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 18 Jun 2018 09:21:05 +0000 (12:21 +0300)
HighwayHash.xs

index d1cca3271507251079edaee9b1ee19eb47337cbd..f806845c5e54fa47c1398aac4473fbf84237f210 100644 (file)
@@ -16,7 +16,7 @@ void process_key(pTHX_ AV *key_av, uint64_t *key) {
        if(av_len(key_av) + 1 != 4)
                croak("Key for highway_hash must be a 4-element array");
        for(i = 0 ; i < 4 ; i++) {
-               elt = *av_fetch(key_av, i, false);
+               elt = *av_fetch(key_av, i, 0);
                if(SvU64OK(elt))
                        key[i] = SvU64(elt);
                else
This page took 0.009749 seconds and 4 git commands to generate.