aboutsummaryrefslogtreecommitdiff
path: root/src/pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkt.c')
-rw-r--r--src/pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkt.c b/src/pkt.c
index 473737e..bc87720 100644
--- a/src/pkt.c
+++ b/src/pkt.c
@@ -218,8 +218,8 @@ void handle_packet(char *buf, unsigned bytes, int is_pcap, struct sockaddr_in *a
if (pt_pkt->data_len != sizeof(challenge_t)) {
pt_log(kLog_error, "Received challenge packet, but data length "
"is not as expected.\n");
- pt_log(kLog_debug, "Data length: %d Expected: %d\n",
- pt_pkt->data_len, sizeof (challenge_t));
+ pt_log(kLog_debug, "Data length: %u Expected: %lu\n",
+ pt_pkt->data_len, sizeof(challenge_t));
cur->should_remove = 1;
return;
}