diff options
Diffstat (limited to 'src/os-win32.h')
-rw-r--r-- | src/os-win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os-win32.h b/src/os-win32.h index a006083..db20964 100644 --- a/src/os-win32.h +++ b/src/os-win32.h @@ -50,10 +50,10 @@ typedef unsigned short os_char; #define OS_MAIN wmain -static inline void *os_dlopen(const ushort *name) { +static inline void *os_dlopen(const unsigned short *name) { return LoadLibraryW(name); } -static inline void *os_dlhandle(const ushort *name) { +static inline void *os_dlhandle(const unsigned short *name) { return GetModuleHandleW(name); } static inline void *os_dlsym(void *m, const char *s) { |