aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index e2cc162fb..b75672192 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -407,7 +407,7 @@ static void debug_printf(u_int32_t protocol, void *id_struct,
/* ***************************************************** */
-static void *malloc_wrapper(unsigned long size) {
+static void *malloc_wrapper(size_t size) {
current_ndpi_memory += size;
if(current_ndpi_memory > max_ndpi_memory)