diff options
author | David Robillard <d@drobilla.net> | 2019-10-17 14:55:49 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-17 14:55:49 +0200 |
commit | 6ca8a0c6b4f18d24e0b4756fe95d2f9ac8cdf6c3 (patch) | |
tree | 1182519a36f5909aabecdd3e7f9c71cd9e4ffe05 | |
parent | f5759d2c78faca366603b2e03f6059c15ab45118 (diff) | |
download | suil-6ca8a0c6b4f18d24e0b4756fe95d2f9ac8cdf6c3.tar.gz suil-6ca8a0c6b4f18d24e0b4756fe95d2f9ac8cdf6c3.tar.bz2 suil-6ca8a0c6b4f18d24e0b4756fe95d2f9ac8cdf6c3.zip |
Fix Windows warning
-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 |