app-text/xdvik: adjust c99 patch

Closes: https://bugs.gentoo.org/927341
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2024-06-18 14:22:54 +02:00
parent 5414b33db6
commit 4e3dfab6bf
@@ -34,7 +34,7 @@ index 945ae760fa..913db11264 100644
/* delete and re-create list */
ASSERT(total_pages <= (int)page_info.index_size, "");
- XawListChange(LIST_WIDGET, page_info.page_labels, 0,
+ XawListChange(LIST_WIDGET, (_Xconst char**) 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) {