diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-09 00:22:16 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-09 00:22:45 +0800 |
commit | fe8b5f202600e5a328e58222a451ec61dad38875 (patch) | |
tree | b977ab5014d69a421f1bf4de673b69d38233061c /platform/gl | |
parent | 75c457ddd28a629a9e1d6e1a8fa313ffef1457cb (diff) | |
download | mupdf-fe8b5f202600e5a328e58222a451ec61dad38875.tar.xz |
Silence gcc warnings about non-const arguments.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-form.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |