Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188727 Details for
Bug 266581
net-proxy/squid-3.0.13: fix cross compilation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
avoid gcc-4.3 errors
squid-3.0.13-BJA-util-cast-xstr.diff (text/plain), 787 bytes, created by
Bertrand Jacquin
on 2009-04-17 21:13:58 UTC
(
hide
)
Description:
avoid gcc-4.3 errors
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2009-04-17 21:13:58 UTC
Size:
787 bytes
patch
obsolete
>--- lib/util.c.ori 2009-04-17 01:06:16.000000000 +0200 >+++ lib/util.c 2009-04-17 01:07:20.000000000 +0200 >@@ -755,7 +755,7 @@ > > PROF_stop(xstrdup); > >- return p; >+ return (char *)p; > } > > /* >@@ -765,7 +765,7 @@ > xstrndup(const char *s, size_t n) > { > size_t sz; >- void *p; >+ char *p; > PROF_start(xstrndup); > assert(s != NULL); > assert(n); >@@ -774,7 +774,7 @@ > if (sz > n) > sz = n; > >- p = xstrncpy(xmalloc(sz), s, sz); >+ p = xstrncpy((char *)xmalloc(sz), s, sz); > > PROF_stop(xstrndup); > >@@ -923,7 +923,7 @@ > xint64toa(int64_t num) > { > static char buf[24]; /* 2^64 = 18446744073709551616 */ >- snprintf(buf, sizeof(buf), "%" PRId64, num); >+ snprintf(buf, sizeof(buf), "%" PRId64, (long long int)num); > return buf; > } >
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 266581
:
188726
| 188727 |
188728
|
189192
|
189193