Skip to content
Commit a725ff1d authored by Jonathan Wakely's avatar Jonathan Wakely
Browse files

Suppress -Wcast-qual warnings in bsearch



The first cast to (void *) is redundant but should be (const void *)
anyway, because that's the type of the lvalue being assigned to.

The second cast is necessary and intentionally not const-correct, so
tell the compiler not to warn about it.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
parent 88361b40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment