summaryrefslogtreecommitdiff
path: root/src/dlg-new.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-05 12:02:59 +0200
committerlukefromdc <[email protected]>2019-09-08 19:35:20 +0000
commit4fb087c731af5282dc817bfc8350afe325eef532 (patch)
treeffc3f2b3660a8937085135062d7ff1b34846a73f /src/dlg-new.c
parenta837a98bf1d2b82b4ac7b773b892d9a411e19e77 (diff)
downloadengrampa-4fb087c731af5282dc817bfc8350afe325eef532.tar.bz2
engrampa-4fb087c731af5282dc817bfc8350afe325eef532.tar.xz
Initialization discards ‘const’ qualifier from pointer target type
Remove 317 warnings [-Wdiscarded-qualifiers].
Diffstat (limited to 'src/dlg-new.c')
-rw-r--r--src/dlg-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlg-new.c b/src/dlg-new.c
index 57cd301..d7e6469 100644
--- a/src/dlg-new.c
+++ b/src/dlg-new.c
@@ -326,7 +326,7 @@ dlg_new_archive (FrWindow *window,
data->format_chooser = (EggFileFormatChooser *) egg_file_format_chooser_new ();
for (i = 0; data->supported_types[i] != -1; i++) {
int idx = data->supported_types[i];
- char *exts[4];
+ const char *exts[4];
int e;
int n_exts;
char *icon_name;