From aa4eb4467739b0b05812d680e05e7b83edf89561 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 26 Nov 2017 23:31:39 +0100 Subject: Fix a compiler warning --- src/path-prefix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path-prefix.cpp') diff --git a/src/path-prefix.cpp b/src/path-prefix.cpp index bffba500f..87b756eb4 100644 --- a/src/path-prefix.cpp +++ b/src/path-prefix.cpp @@ -38,7 +38,7 @@ */ char *append_inkscape_datadir(const char *relative_path) { - static gchar *inkscape_datadir; + static gchar const *inkscape_datadir; if (!inkscape_datadir) { gchar const *datadir_env = g_getenv("INKSCAPE_DATADIR"); if (datadir_env) { -- cgit v1.2.3