diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/u_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_thread.h b/src/util/u_thread.h index b240b446aa2..1648d2f5841 100644 --- a/src/util/u_thread.h +++ b/src/util/u_thread.h @@ -67,7 +67,7 @@ static inline void u_thread_setname( const char *name ) #elif DETECT_OS_FREEBSD || DETECT_OS_OPENBSD pthread_set_name_np(pthread_self(), name); #elif DETECT_OS_NETBSD - pthread_setname_np(pthread_self(), "%s", name); + pthread_setname_np(pthread_self(), "%s", (void *)name); #elif DETECT_OS_APPLE pthread_setname_np(name); #else |