util/atomic: fix return type of p_atomic_add_return() fallback
authorEric Engestrom <eric.engestrom@intel.com>
Sun, 8 Dec 2019 12:52:21 +0000 (12:52 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 21:42:52 +0000 (21:42 +0000)
commitd60b8fd3cbafda64dee5ae3e4960f3887fcc337b
tree252c60babd003ad7f0160666fe929a90f54decad
parentac0219cc5b6afa6d0392a164b58e21ce95079930
util/atomic: fix return type of p_atomic_add_return() fallback

Fixes: 385d13f26d2b69db9423 ("util/atomic: Add a _return variant of p_atomic_add")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3012>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3012>
src/util/u_atomic.h