From 844ae92f089fecae14702517044773adaa32203f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 31 Jul 2016 19:09:19 -0400 Subject: Fix Windows compilation --- src/lilv_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lilv_internal.h') 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 # include -- cgit v1.2.1