fixed epicsAtomicTestAndSetUIntT for solaris

This commit is contained in:
Jeff Hill authored and Andrew Johnson committed 2011-08-05 17:32:06 -06:00
1 parent fc4a4d9024
commit 33c40b23a1
1 file changed
+1 -1
+1 -1
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;
}