aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-05-19 16:48:19 +0100
committerFlorian Weimer <fweimer@redhat.com>2021-10-01 18:20:12 +0200
commit80a009119ba2330768120476aaad63767b81d543 (patch)
tree16024da4c5a52013bade4ff08e2ebff0fb208b66 /scripts/cpp
parent822662cf2a4b170ade4c5342f035d68815a03276 (diff)
downloadglibc-80a009119ba2330768120476aaad63767b81d543.tar.xz
glibc-80a009119ba2330768120476aaad63767b81d543.zip
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: Florian Weimer <fweimer@redhat.com> (cherry picked from commit a725ff1de965f4cc4f36a7e8ae795d40ca0350d7)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions