mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-29 02:37:54 +08:00
added cast to eliminate warning.
This commit is contained in:
1 parent
f8700f776e
commit
bed475e288
1 file changed
+1
-1
@@ -46,7 +46,7 @@ void Shm_Lock(
|
||||
)
|
||||
{
|
||||
rtems_unsigned32 isr_level;
|
||||
rtems_unsigned32 *lockptr = &lq_cb->lock;
|
||||
rtems_unsigned32 *lockptr = (rtems_unsigned32 *) &lq_cb->lock;
|
||||
rtems_unsigned32 lock_value;
|
||||
|
||||
lock_value = 0x80000000;
|
||||
|
||||
Reference in new issue
Block a user