From 745cb54e86920827e9abfe4fac56f7ae099eb456 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 Feb 2009 10:16:11 +0200 Subject: Removed printf size_t format warning on 64-bit --- src/drivers/driver_privsep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/driver_privsep.c b/src/drivers/driver_privsep.c index fb472ac..e329a74 100644 --- a/src/drivers/driver_privsep.c +++ b/src/drivers/driver_privsep.c @@ -476,8 +476,8 @@ static void wpa_driver_privsep_receive(int sock, void *eloop_ctx, os_memcpy(&event, buf, sizeof(int)); event_buf = &buf[sizeof(int)]; event_len = res - sizeof(int); - wpa_printf(MSG_DEBUG, "privsep: Event %d received (len=%d)", - event, event_len); + wpa_printf(MSG_DEBUG, "privsep: Event %d received (len=%lu)", + event, (unsigned long) event_len); e = event; switch (e) { -- cgit v1.1