https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247129

            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: [email protected]
          Reporter: [email protected]

Created attachment 215410
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215410&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to