util/atomic: Fix p_atomic_add for unlocked and msvc paths
authorRoland Scheidegger <sroland@vmware.com>
Mon, 9 Dec 2019 17:49:13 +0000 (18:49 +0100)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 9 Dec 2019 23:02:58 +0000 (15:02 -0800)
commit23f1b78e8fd38dd844aefc19151ec31071ca5f64
tree8cc79837106efe936541d8358ea5ac36c960afbd
parent0470a03769715a3258c04e6b18848cef321bd213
util/atomic: Fix p_atomic_add for unlocked and msvc paths

Braces mismatch (flagged by CI, untested).

Fixes: 385d13f26d2 "util/atomic: Add a _return variant of p_atomic_add"
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/u_atomic.h