Commit 9673de84 authored by Olaf Bergmann's avatar Olaf Bergmann Committed by Arthur O'Dwyer
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment