mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 18:27:37 +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
|
# endif
|
||||||
|
|
||||||
# define cmpxchg_ptr(_ptr,_o,_n) \
|
# 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)))
|
(long) (_o), (long) (_n)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue