X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fsemaphore.cpp;h=f19bdab92d4da8c6ad636a8e7c796c6234f889fe;hb=HEAD;hp=6a4bacf9defddb911244ba44ced8fd82121e6d97;hpb=122846f0881673770d88eff7d925ecf25c01b62e;p=libs%2Fcore.git 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; }