Skip to content

Commit

Permalink
add missing arg for pthread_rwlock_init
Browse files Browse the repository at this point in the history
  • Loading branch information
DanEngelbrecht committed Jan 1, 2024
1 parent b544b8e commit 88f5be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/longtail_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,7 @@ size_t Longtail_GetRWLockSize()
int Longtail_CreateRWLock(void* mem, HLongtail_RWLock* out_rwlock)
{
HLongtail_RWLock rwlock = (HLongtail_RWLock)mem;
int err = pthread_rwlock_init(&rwlock->m_RWLock);
int err = pthread_rwlock_init(&rwlock->m_RWLock, 0);
if (err)
{
return err;
Expand Down

0 comments on commit 88f5be3

Please sign in to comment.