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
committed by Andrew Johnson
parent 9e60e923e7
commit 6f7ac559be

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 )