From 8b4700521afc5760474fc82ebeb861c2c84118da Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Wed, 21 Sep 2016 10:02:57 -0500 Subject: Ensure all tools are building with -Wall and -Werror Corrected resulting compiler errors from correctly adding -Wall & -Werror within configure.ac. Change-Id: Ia7aaafa83103322ad4b50171d62144624dd71e42 Signed-off-by: Matthew Barth --- chassishandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chassishandler.cpp') diff --git a/chassishandler.cpp b/chassishandler.cpp index 9a5f169..c6753e8 100644 --- a/chassishandler.cpp +++ b/chassishandler.cpp @@ -27,7 +27,7 @@ constexpr size_t SIZE_COOKIE = 4; constexpr size_t SIZE_VERSION = 2; constexpr auto MAC_ADDRESS_FORMAT = "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx"; constexpr auto IP_ADDRESS_FORMAT = "%d.%d.%d.%d"; -constexpr auto PREFIX_FORMAT = "%d"; +constexpr auto PREFIX_FORMAT = "%hhd"; constexpr auto ADDR_TYPE_FORMAT = "%hhx"; //PetiBoot-Specific static constexpr uint8_t net_conf_initial_bytes[] = {0x80,0x21, 0x70 ,0x62 ,0x21, -- cgit v1.2.1