mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-26 21:13:42 +01:00
(cmpchg_ptr): Cast first argument to "volatile long *", since that is what the
Intel compiler wants. (Logical change 1.70)
This commit is contained in:
parent
9fe5e68f40
commit
271d7065c2
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
# endif
|
||||
|
||||
# define cmpxchg_ptr(_ptr,_o,_n) \
|
||||
((void *) __sync_val_compare_and_swap((long *) (_ptr), \
|
||||
((void *) __sync_val_compare_and_swap((volatile long *) (_ptr), \
|
||||
(long) (_o), (long) (_n)))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue