]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_ecommunity.c
lib: hashing functions should take const arguments
[mirror_frr.git] / bgpd / bgp_ecommunity.c
index 8ef398952d3a59217006ad37fea9aa17f6fc8c1d..76bd0e815e6771cc81bfe8ea3c59b3b8da6efa2f 100644 (file)
@@ -241,7 +241,7 @@ void ecommunity_unintern(struct ecommunity **ecom)
 }
 
 /* Utinity function to make hash key.  */
-unsigned int ecommunity_hash_make(void *arg)
+unsigned int ecommunity_hash_make(const void *arg)
 {
        const struct ecommunity *ecom = arg;
        int size = ecom->size * ECOMMUNITY_SIZE;