]> git.proxmox.com Git - mirror_frr.git/commit
zebra: temporary workaround for a clang issue with atomics
authorMark Stapp <mjs@voltanet.io>
Tue, 30 Oct 2018 18:05:47 +0000 (14:05 -0400)
committerMark Stapp <mjs@voltanet.io>
Tue, 30 Oct 2018 19:31:47 +0000 (15:31 -0400)
commite07e9549665cfb7ae9e7fe68e028a9affe74df63
treec8ce399cfaff1f72ae134066e3639bd720978ad6
parentcac967ca3b3b25d685d0b9eac628da1861766b4e
zebra: temporary workaround for a clang issue with atomics

Current clang has an issue with the pointer/target argument
to at least one atomic/intrinsic. A variable with '_Atomic'
generates a compile-time error. Use a cast as a workaround
here to allow use of clang for now.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_dplane.c