diff options
-rw-r--r-- | src/suil_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/suil_internal.h b/src/suil_internal.h index e08a865..7b86bb9 100644 --- a/src/suil_internal.h +++ b/src/suil_internal.h @@ -28,7 +28,7 @@ #define dlclose(lib) FreeLibrary((HMODULE)lib) #define inline __inline #define snprintf _snprintf -static inline char* dlerror(void) { return "Unknown error"; } +static inline const char* dlerror(void) { return "Unknown error"; } #else #include <dlfcn.h> #endif |