Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881526 Details for
Bug 921432
net-ftp/filezilla (gcc14) error: passing argument 1 of ‘next_int’ from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
removes a const and fixes some warnings in the same file
gcc14-fixes.patch (text/plain), 892 bytes, created by
Christopher Fore
on 2024-01-06 06:00:47 UTC
(
hide
)
Description:
removes a const and fixes some warnings in the same file
Filename:
MIME Type:
Creator:
Christopher Fore
Created:
2024-01-06 06:00:47 UTC
Size:
892 bytes
patch
obsolete
>diff --git a/src/putty/unix/uxsftp.c b/src/putty/unix/uxsftp.c >index f078d97..05ec2ff 100644 >--- a/src/putty/unix/uxsftp.c >+++ b/src/putty/unix/uxsftp.c >@@ -211,7 +211,7 @@ int read_from_file(RFile *f, void *buffer, int length) > #if 1 > if (f->state == ok && !f->remaining_) { > fznotify1(sftp_io_nextbuf, 0); >- char const* s = priority_read(); >+ char *s = priority_read(); > if (s[1] == '-') { > f->state = error; > return -1; >@@ -220,11 +220,11 @@ int read_from_file(RFile *f, void *buffer, int length) > f->state = eof; > } > else { >- char const* p = s + 1; >+ char *p = s + 1; > f->buffer_ = f->memory_ + next_int(&p); > f->remaining_ = (int)next_int(&p); > } >- sfree(s); >+ sfree((void *)s); > } > if (f->state == eof) { > return 0;
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 921432
:
881525
| 881526