summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r--src/lilv_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index 5abfcd4..af8e31a 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -43,7 +43,7 @@ extern "C" {
#ifndef NAN
# define NAN INFINITY - INFINITY
#endif
-static inline char* dlerror(void) { return "Unknown error"; }
+static inline const char* dlerror(void) { return "Unknown error"; }
#else
# include <dlfcn.h>
# include <unistd.h>