From fe8b5f202600e5a328e58222a451ec61dad38875 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 9 Jul 2018 00:22:16 +0800 Subject: Silence gcc warnings about non-const arguments. --- platform/gl/gl-form.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/gl/gl-form.c') diff --git a/platform/gl/gl-form.c b/platform/gl/gl-form.c index b9da50a1..123e8769 100644 --- a/platform/gl/gl-form.c +++ b/platform/gl/gl-form.c @@ -117,7 +117,7 @@ void do_widget_panel(void) } else if (type == PDF_WIDGET_TYPE_COMBOBOX || type == PDF_WIDGET_TYPE_LISTBOX) { - char **options; + const char **options; int n, choice; ui_label("Value:"); n = pdf_choice_widget_options(ctx, selected_annot->page->doc, selected_annot, 0, NULL); -- cgit v1.2.3