Diff between 251ef215438f433210971e1af494abc0c2a2ca0a and 8168ab64d59aa814b866c36c28dc085a3c55e40a

Changed Files

File Additions Deletions Status
mesh/node.c +2 -1 modified

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index b668550..3c206dc 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -32,6 +32,7 @@
 #include <stdbool.h>
 #include <sys/uio.h>
 #include <wordexp.h>
+#include <inttypes.h>
 
 #include <readline/readline.h>
 #include <readline/history.h>
@@ -538,7 +539,7 @@ void node_local_data_handler(uint16_t src, uint32_t dst,
 
 		if (iv_seq_remote >= iv_seq) {
 			rl_printf("Replayed message detected "
-							"(%14lx >= %14lx)\n",
+					"(%016" PRIx64 " >= %016" PRIx64 ")\n",
 							iv_seq_remote, iv_seq);
 			return;
 		}