diff options
-rw-r--r-- | lib/util/smb_threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/smb_threads.c b/lib/util/smb_threads.c index 132ad48784..22afcd378f 100644 --- a/lib/util/smb_threads.c +++ b/lib/util/smb_threads.c @@ -107,7 +107,7 @@ int smb_thread_set_functions(const struct smb_thread_functions *tf) void smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void)) { int ret; - int need_func_call; + bool need_func_call; /* Lock our "once" mutex in order to test and initialize ponce */ if ((ret = SMB_THREAD_LOCK(once_mutex, SMB_THREAD_LOCK)) != 0) { |