diff options
Diffstat (limited to 'include/asterisk/lock.h')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 2a2ec9b17..c04d00aaa 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -791,7 +791,7 @@ typedef pthread_rwlock_t ast_rwlock_t; #ifdef HAVE_PTHREAD_RWLOCK_INITIALIZER #define AST_RWLOCK_INIT_VALUE PTHREAD_RWLOCK_INITIALIZER #else -#define AST_RWLOCK_INIT_VALUE NULL +#define AST_RWLOCK_INIT_VALUE { 0 } #endif #ifdef DEBUG_THREADS |