fixed epicsAtomicTestAndSetUIntT for solaris

This commit is contained in:
Jeff Hill
2011-08-05 17:32:06 -06:00
committed by Andrew Johnson
parent fc4a4d9024
commit 33c40b23a1

View File

@@ -35,7 +35,7 @@ extern "C" {
OSD_ATOMIC_INLINE unsigned epicsAtomicTestAndSetUIntT ( unsigned * pTarget )
{
const uchar_t oldVal = atomic_cas_uint ( pTarget, 0u, 1u );
const uint_t oldVal = atomic_cas_uint ( pTarget, 0u, 1u );
return oldVal == 0u;
}