From b9eff396cecb27f2764efc5035370ab451b5ee0e Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 16 Dec 2018 03:28:29 -0600 Subject: [PATCH] Fix incorrect function declaration --- include/hexagram/pcapng.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hexagram/pcapng.h b/include/hexagram/pcapng.h index 354a9a3..54fdc87 100644 --- a/include/hexagram/pcapng.h +++ b/include/hexagram/pcapng.h @@ -2,6 +2,7 @@ #define _HEXAGRAM_PCAPNG_H #include +#include enum { HEXAGRAM_PCAPNG_ERROR_OK = 0, @@ -22,7 +23,7 @@ typedef struct _hexagram_pcapng_footer { typedef int (hexagram_pcapng_block_handler)(int fd, uint32_t type, - uint32_t length); + size_t length); ssize_t hexagram_pcapng_stream_read(int fd, hexagram_pcapng_block_handler *handler,