Marian Buschsieweke 7749e621b8
core: Fix undefined behaviour in C11 atomics
Casting pointers to volatile memory to pointers to regular memory is permitted,
but using those pointers to access the memory results in undefined behavior.
This commit changes the casts to no longer drop the volatile qualifier.

References: https://en.cppreference.com/w/c/language/volatile
2019-05-15 15:47:43 +02:00
..
2017-02-16 17:11:22 +01:00
2019-05-02 12:09:37 +02:00
2018-11-30 11:22:07 -08:00
2015-09-12 12:43:15 +02:00
2017-03-28 20:50:48 +02:00
2019-01-09 23:00:50 +01:00
2018-11-09 08:41:50 +01:00
2017-11-16 14:39:54 +01:00
2017-03-01 22:01:26 +01:00
2018-06-11 19:12:02 +02:00
2019-02-13 13:31:52 +01:00