diff --git a/src/platforms/posix/lockstep_scheduler/src/lockstep_scheduler.cpp b/src/platforms/posix/lockstep_scheduler/src/lockstep_scheduler.cpp index 7b1f065dc7..5c9b97828a 100644 --- a/src/platforms/posix/lockstep_scheduler/src/lockstep_scheduler.cpp +++ b/src/platforms/posix/lockstep_scheduler/src/lockstep_scheduler.cpp @@ -93,9 +93,9 @@ int LockstepScheduler::cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *loc int LockstepScheduler::usleep_until(uint64_t time_us) { pthread_mutex_t lock; - pthread_mutex_init(&lock, NULL); + pthread_mutex_init(&lock, nullptr); pthread_cond_t cond; - pthread_cond_init(&cond, NULL); + pthread_cond_init(&cond, nullptr); pthread_mutex_lock(&lock);