summaryrefslogtreecommitdiff
path: root/CORE/VOSS/src
diff options
context:
space:
mode:
Diffstat (limited to 'CORE/VOSS/src')
-rw-r--r--CORE/VOSS/src/vos_types.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/CORE/VOSS/src/vos_types.c b/CORE/VOSS/src/vos_types.c
index 1dddbf09f1e7..b7182162ba11 100644
--- a/CORE/VOSS/src/vos_types.c
+++ b/CORE/VOSS/src/vos_types.c
@@ -56,21 +56,21 @@
/*----------------------------------------------------------------------------
- \brief vos_atomic_set_U32() - set a U32 variable atomically
+ \brief vos_atomic_set - set a variable atomically
- \param pTarget - pointer to the v_U32_t to set.
+ \param pTarget - pointer to the uintptr_t to set.
- \param value - the value to set in the v_U32_t variable.
+ \param value - the value to set in the uintptr_t variable.
- \return This function returns the value previously in the v_U32_t before
+ \return This function returns the value previously in the uintptr_t before
the new value is set.
\sa vos_atomic_increment_U32(), vos_atomic_decrement_U32()
--------------------------------------------------------------------------*/
-v_U32_t vos_atomic_set_U32( v_U32_t *pTarget, v_U32_t value )
+uintptr_t vos_atomic_set( uintptr_t *pTarget, uintptr_t value )
{
- v_U32_t oldval;
+ uintptr_t oldval;
unsigned long flags;
if (pTarget == NULL)