Skip to content
Commit 80a00911 authored by Jonathan Wakely's avatar Jonathan Wakely Committed by Florian Weimer
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>
(cherry picked from commit a725ff1d)
parent 822662cf
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