[gimp/gimp-attributes-wip: 4/6] app: fix compiler warning for missing const
- From: Hartmut Kuhse <hartmutkuhse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-attributes-wip: 4/6] app: fix compiler warning for missing const
- Date: Sun, 13 Nov 2016 06:42:43 +0000 (UTC)
commit 31b8a78ec3b5f1e5b1239be8d1f1d652e68e56d1
Author: Hartmut Kuhse <hk_priv gmx de>
Date: Sun Nov 13 07:15:40 2016 +0100
app: fix compiler warning for missing const
libgimpbase/gimpdatafiles.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpbase/gimpdatafiles.c b/libgimpbase/gimpdatafiles.c
index 3a0e194..770bb19 100644
--- a/libgimpbase/gimpdatafiles.c
+++ b/libgimpbase/gimpdatafiles.c
@@ -195,7 +195,7 @@ is_script (const gchar *filename)
static gchar **exts = NULL;
const gchar *ext = strrchr (filename, '.');
- gchar *pathext;
+ const gchar *pathext;
gint i;
if (exts == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]