From 9a65983acaba77fdaa286e19349c110bd031aa99 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Tue, 30 Apr 2019 12:26:42 +0100 Subject: [PATCH] Mark the flags `volatile`, just to be safe. This is not a problem now, but I would hate it to become one later. --- src/cell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cell.h b/src/cell.h index 117eb708f2..0824f71d02 100644 --- a/src/cell.h +++ b/src/cell.h @@ -269,7 +269,7 @@ struct cell { struct cell *super; /*! Cell flags bit-mask. */ - uint32_t flags; + volatile uint32_t flags; /*! Hydro variables */ struct { -- GitLab