Date: Tue, 09 Jun 2020 22:47:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247129] [PATCH] Fix some compiler warnings in netinet alias module Message-ID: <bug-247129-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247129 Bug ID: 247129 Summary: [PATCH] Fix some compiler warnings in netinet alias module Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: nikethmurali@protonmail.com Created attachment 215410 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215410&action= =3Dedit Patch for /sys/netinet/libalias/alias.c Patch contains fixes for warnings found when building kernel 1. /usr/src/sys/netinet/libalias/alias.c:472:12: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] 2. /usr/src/sys/netinet/libalias/alias.c:1559:35: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member] 3./usr/src/sys/netinet/libalias/alias.c:1433:42: error: taking address of packed member 'ip_dst' of class or structure 'ip' may result in an unaligned pointer value --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247129-227>