summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netsniff-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index a7aaae6..9bc4985 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -911,7 +911,7 @@ static void update_pcap_next_dump(struct ctx *ctx, unsigned long snaplen,
return;
if (ctx->verbose && ctx->print_mode == PRINT_NONE)
- printf(".(+%lu/-%lu)",
+ printf(".(+%"PRIu64"/-%"PRIu64")",
ctx->pkts_recvd_last - ctx->pkts_drops_last,
ctx->pkts_drops_last);
}