diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-17 14:05:11 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-17 14:05:11 +0200 |
commit | 90a0a0a2913dcc38f18c6d85849d3bde9dfbaa26 (patch) | |
tree | 8b9b0a31aa545d2197431810bacdf9133a2ece32 | |
parent | f63f9b240d318fec9ea03404c45134ef7ce162df (diff) |
Fixed release build
-rw-r--r-- | src/prefs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c index c4f71ed5..6b0164b6 100644 --- a/src/prefs.c +++ b/src/prefs.c | |||
@@ -23,6 +23,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
23 | #include "prefs.h" | 23 | #include "prefs.h" |
24 | 24 | ||
25 | #include <the_Foundation/fileinfo.h> | 25 | #include <the_Foundation/fileinfo.h> |
26 | #include <assert.h> | ||
26 | 27 | ||
27 | static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]), | 28 | static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]), |
28 | "memory layout mismatch (needs struct packing?)"); | 29 | "memory layout mismatch (needs struct packing?)"); |