Skip to content

Commit

Permalink
cast thread result to platform dependent type (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 11, 2020
1 parent 0338651 commit 3976830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libde265/threads.cc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static THREAD_RESULT worker_thread(THREAD_PARAM pool_ptr)

if (pool->stopped) {
de265_mutex_unlock(&pool->mutex);
return NULL;
return (THREAD_RESULT)0;
}


Expand Down Expand Up @@ -238,7 +238,7 @@ static THREAD_RESULT worker_thread(THREAD_PARAM pool_ptr)
}
de265_mutex_unlock(&pool->mutex);

return NULL;
return (THREAD_RESULT)0;
}


Expand Down

0 comments on commit 3976830

Please sign in to comment.