Files
mesa/src/util
Eric Engestrom aaab70035a util/u_atomic: fix return type of p_atomic_{inc,dec}_return() and p_atomic_{cmp,}xchg()
We're trying to cast the return type to the type of the var, but instead
we were casting `sizeof(*v)`.

Fixes: 6df72e970c ("util: Make u_atomic.h typeless.")
Fixes: 0a7f17cf5b ("util/u_atomic: add p_atomic_xchg")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
2019-10-16 19:41:47 +01:00
..
2019-10-10 16:33:04 -07:00
2019-08-08 22:02:54 +01:00
2018-10-10 13:13:12 -05:00
2019-09-19 19:56:22 +00:00
2019-09-19 19:56:22 +00:00
2019-09-19 19:56:22 +00:00
2019-03-11 13:13:52 -07:00
2019-03-11 13:13:52 -07:00
2019-08-15 20:23:44 +02:00
2019-08-02 18:38:52 +01:00
2019-06-12 17:27:44 +01:00
2019-06-12 15:57:16 -07:00
2019-05-30 22:11:26 +00:00
2019-09-04 00:11:51 +01:00
2019-06-28 23:37:49 +01:00
2019-09-06 00:45:11 +00:00
2019-05-31 19:14:30 +02:00
2019-10-09 12:55:15 -07:00
2019-03-14 22:41:08 +00:00
2019-09-06 19:52:50 +00:00
2018-11-27 15:44:02 -05:00
2019-08-31 13:26:10 -07:00