fixed solaris 64 compiler error (I dont have that version of solaris here)

This commit is contained in:
Jeff Hill
2011-08-09 12:26:40 -06:00
parent 04c30aee0e
commit ca78732dac
+1 -1
View File
@@ -91,7 +91,7 @@ OSD_ATOMIC_INLINE size_t epicsAtomicDecrSizeT ( size_t * pTarget )
OSD_ATOMIC_INLINE void epicsAtomicSetSizeT ( size_t * pTarget, size_t newVal )
{
unsigned long * const pTarg = ( unsigned long * ) ( pTarget );
atomic_swap_ulong ( pTarg, newval );
atomic_swap_ulong ( pTarg, newVal );
}
OSD_ATOMIC_INLINE size_t epicsAtomicGetSizeT ( const size_t * pTarget )