Replay: disable case-align for Replay build

This commit is contained in:
Andrew Tridgell 2020-07-07 14:14:11 +10:00
parent b2dc0c8344
commit 71732d07f0

View File

@ -5,6 +5,10 @@
#include <stdio.h>
// ignore cast errors in this case to keep complexity down
// on x86 where replay is run we don't care about cast alignment
#pragma GCC diagnostic ignored "-Wcast-align"
#define LOGREADER_MAX_FIELDS 30
#define streq(x, y) (!strcmp(x, y))