mirror of https://github.com/YosysHQ/abc.git
Compiler warning.
This commit is contained in:
parent
1954e2fcaa
commit
8f0cbbdf38
|
|
@ -117,7 +117,7 @@ void * Ssw_GiaWorkerThread( void * pArg )
|
|||
Par_ScorrThData_t * pThData = (Par_ScorrThData_t *)pArg;
|
||||
while ( 1 )
|
||||
{
|
||||
while ( !atomic_load_explicit(&pThData->fWorking, memory_order_acquire) )
|
||||
while ( !atomic_load_explicit((volatile int *)&pThData->fWorking, memory_order_acquire) )
|
||||
nanosleep(&pause_duration, NULL);
|
||||
if ( pThData->p == NULL )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue