FreeBSD Bugzilla – Attachment 160824 Details for
Bug 202959
Fix net/pimd build with clang 3.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix left-shifting of negative value in pimd.h
net__pimd-fix-negative-shift-1.diff (text/plain), 1.00 KB, created by
Dimitry Andric
on 2015-09-07 21:40:18 UTC
(
hide
)
Description:
Fix left-shifting of negative value in pimd.h
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-09-07 21:40:18 UTC
Size:
1.00 KB
patch
obsolete
>Index: net/pimd/files/patch-pimd.h >=================================================================== >--- net/pimd/files/patch-pimd.h (revision 0) >+++ net/pimd/files/patch-pimd.h (working copy) >@@ -0,0 +1,11 @@ >+--- pimd.h.orig 2014-12-28 13:09:43.000000000 +0100 >++++ pimd.h 2015-09-07 23:36:43.025592000 +0200 >+@@ -319,7 +319,7 @@ >+ >+ #define MASKLEN_TO_MASK(masklen, mask) \ >+ do { \ >+- (mask) = (masklen)? htonl(~0 << ((sizeof((mask)) << 3) - (masklen))) : 0;\ >++ (mask) = (masklen)? htonl(~0U << ((sizeof((mask)) << 3) - (masklen))) : 0;\ >+ } while (0) >+ >+ > >Property changes on: net/pimd/files/patch-pimd.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202959
: 160824 |
160827
|
164111