]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix type violation in libkrad 1385/head
authorGreg Hudson <ghudson@mit.edu>
Mon, 28 Oct 2024 15:51:54 +0000 (11:51 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 5 Nov 2024 15:50:58 +0000 (10:50 -0500)
commitaac785e5e050415f8b8cb29059d2f658f755e7e7
tree61fad995e0387e6f37bbd8bb01b4e8948a92b000
parent2397d3c8e8a72b8af3d029bd7c797cf8bb6566bd
Fix type violation in libkrad

remote.c uses casts to cover up a signature difference between
iterator() and krad_packet_iter_cb.  The difference is unimportant in
typical platform ABIs, but calling the function this way is undefined
behavior (C99 6.3.2.8).  Fix iterator() to conform to
krad_packet_iter_cb and remove the casts.
src/lib/krad/remote.c