X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Funix%2Fsemaphore.cpp;fp=source%2Fcore%2Funix%2Fsemaphore.cpp;h=f19bdab92d4da8c6ad636a8e7c796c6234f889fe;hp=6a4bacf9defddb911244ba44ced8fd82121e6d97;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=26a5878092f6547e701fd1a33abbf1878d26ab70 diff --git a/source/core/unix/semaphore.cpp b/source/core/unix/semaphore.cpp index 6a4bacf..f19bdab 100644 --- a/source/core/unix/semaphore.cpp +++ b/source/core/unix/semaphore.cpp @@ -22,7 +22,7 @@ struct Semaphore::Private Semaphore::Semaphore(unsigned limit): priv(new Private) { - pthread_cond_init(&priv->cond, 0); + pthread_cond_init(&priv->cond, nullptr); priv->limit = limit; }