summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/gl/gl-form.c2
-rw-r--r--platform/x11/pdfapp.c4
2 files changed, 3 insertions, 3 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);
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index 5bacb467..a3ad0947 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -1682,8 +1682,8 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta
{
int nopts;
int nvals;
- char **opts = NULL;
- char **vals = NULL;
+ const char **opts = NULL;
+ const char **vals = NULL;
fz_var(opts);
fz_var(vals);