Commit 85a9ea3b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Atom: use volatile keyword

parent 3c73117a
......@@ -31,8 +31,8 @@
*/
typedef union
{
uintptr_t u;
intptr_t s;
volatile uintptr_t u;
volatile intptr_t s;
} vlc_atomic_t;
/* All functions return the atom value _after_ the operation. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment