FreeBSD Bugzilla – Attachment 153469 Details for
Bug 198009
Fix textproc/wordnet build with clang 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use __DECONST to cast away const in getptrtype()
textproc__wordnet-fix-deconst-1.diff (text/plain), 462 bytes, created by
Dimitry Andric
on 2015-02-24 20:52:44 UTC
(
hide
)
Description:
Use __DECONST to cast away const in getptrtype()
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-24 20:52:44 UTC
Size:
462 bytes
patch
obsolete
>Index: textproc/wordnet/files/patch-lib__wnutil.c >=================================================================== >--- textproc/wordnet/files/patch-lib__wnutil.c (revision 379525) >+++ textproc/wordnet/files/patch-lib__wnutil.c (working copy) >@@ -83,7 +83,7 @@ > + if (*ptype == '\0' && > + (*pstr == '\n' || *pstr == ' ' || *pstr == '\0')) { > + if (end) >-+ *(const void **)end = pstr; >++ *end = __DECONST(char *, pstr); > return(i); > + } > }
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 198009
: 153469