Browse Source

Replay: disable case-align for Replay build

zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
71732d07f0
  1. 4
      Tools/Replay/MsgHandler.h

4
Tools/Replay/MsgHandler.h

@ -5,6 +5,10 @@ @@ -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))

Loading…
Cancel
Save