aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-07 08:16:11 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:38:22 (GMT)
commit429ea5d307fc33de3da44e916ed51c5f7ae9d183 (patch)
treee6a2fa9cfa54477b0f414ede11a24fa764aef71a /src
parent6bd2c6b787e46ab1cb950fb792319949dedbb55a (diff)
downloadhostap-06-429ea5d307fc33de3da44e916ed51c5f7ae9d183.zip
hostap-06-429ea5d307fc33de3da44e916ed51c5f7ae9d183.tar.gz
hostap-06-429ea5d307fc33de3da44e916ed51c5f7ae9d183.tar.bz2
Removed printf size_t format warning on 64-bit
(cherry picked from commit 745cb54e86920827e9abfe4fac56f7ae099eb456)
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_privsep.c4
1 files 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) {