aboutsummaryrefslogtreecommitdiff
path: root/lib/Rewrite
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2025-07-31 19:11:16 +0000
committerToomas Soome <tsoome@FreeBSD.org>2025-07-31 22:04:32 +0000
commit733da235aa6a3c71d06b92a41656bad07fada5e6 (patch)
tree7950a24dfd40a1f4dd7f8c133b4b393d5c2f6bdd /lib/Rewrite
parent0a3792d5c5764945259333db4c66774385f01ba7 (diff)
libsa: errors with pointer conversionHEADmain
loader ip implementation is using pointer to structure ip to receive the packet and is using this pointer to cast on other data types (namely structure arphdr). Problem does arise when those data structures are declared with different alignment rules and when/if the compiler does check those rules. To work around and silence warnings, use void * generic pointer instead. Error seen with gcc 14 (-Werror=address-of-packed-member). Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D51662
Diffstat (limited to 'lib/Rewrite')
0 files changed, 0 insertions, 0 deletions