Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 885058 Details for
Bug 919069
app-text/xdvik-22.87.06-r1: fails to compile (error: passing argument 2 of ‘XawListChange’ 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]
Patch to cast char** to const char**
0001-xdvik-gui-Fix-compiliation-on-GCC-14.patch (text/plain), 1.11 KB, created by
Christopher Fore
on 2024-02-15 18:19:33 UTC
(
hide
)
Description:
Patch to cast char** to const char**
Filename:
MIME Type:
Creator:
Christopher Fore
Created:
2024-02-15 18:19:33 UTC
Size:
1.11 KB
patch
obsolete
>From 48056aa086b723e690a196814a7a616f58c48bf9 Mon Sep 17 00:00:00 2001 >From: Christopher Fore <csfore@posteo.net> >Date: Thu, 15 Feb 2024 13:12:02 -0500 >Subject: [PATCH] xdvik/gui: Fix compiliation on GCC 14 > >Starting in GCC 14, what used to be warnings from incompatible pointer >types are now errors. > >https://www.gnu.org/software/gcc/gcc-14/porting_to.html > >Gentoo bug: https://bugs.gentoo.org/919069 > >Signed-off-by: Christopher Fore <csfore@posteo.net> >--- > /gui/pagesel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/gui/pagesel.c b/gui/pagesel.c >index 945ae76..de7100d 100644 >--- a/gui/pagesel.c >+++ b/gui/pagesel.c >@@ -538,7 +538,7 @@ xaw_update_list(void) > button_width = get_panel_width() - 2 * (resource.btn_side_spacing + resource.btn_border_width); > /* delete and re-create list */ > ASSERT(total_pages <= (int)page_info.index_size, ""); >- XawListChange(LIST_WIDGET, page_info.page_labels, 0, >+ XawListChange(LIST_WIDGET, (const char**) page_info.page_labels, 0, > MAX(button_width, pagelist_width), False); > /* restore selected item */ > if (idx != XAW_LIST_NONE) { >-- >2.43.1 >
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 919069
:
876471
| 885058