GCC 6 fixes.

Should resolve https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811579

Resolves #719.
This commit is contained in:
John Hood
2016-05-09 23:26:20 -04:00
parent 4c7200c016
commit ec6980da96
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
source = userinput.proto hostinput.proto transportinstruction.proto source = userinput.proto hostinput.proto transportinstruction.proto
AM_CPPFLAGS = $(protobuf_CFLAGS) AM_CPPFLAGS = $(protobuf_CFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS) AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS) -Wno-error
SUFFIXES = .proto .pb.cc SUFFIXES = .proto .pb.cc
+1 -1
View File
@@ -54,7 +54,7 @@ const size_t NUM_SESSIONS = 64;
bool verbose = false; bool verbose = false;
#define NONCE_FMT "%016"PRIx64 #define NONCE_FMT "%016" PRIx64
static std::string random_payload( void ) { static std::string random_payload( void ) {
const size_t len = prng.uint32() % MESSAGE_SIZE_MAX; const size_t len = prng.uint32() % MESSAGE_SIZE_MAX;