unit tests: fix constness alt_memcmp arguments
alt_memcmp() is used as uthash_memcmp implementation and calls memcmp() internally. As the arguments a and b to compare are read-only, they should be declared const to avoid compiler warnings with -Wcast-qual.
parent
1124f0a7
Please register or sign in to comment