From ced95a3b2571b41ed7100fcb25ccc3cbcbbc1cd6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Torstein=20Huseb=C3=B8?= Date: Sun, 29 Jun 2014 17:41:31 +0200 Subject: [PATCH] Fix annoying compile warning due to missing cast --- test/test-kdbus-policy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-kdbus-policy.c b/test/test-kdbus-policy.c index 6099087..e3e3e7e 100644 --- a/test/test-kdbus-policy.c +++ b/test/test-kdbus-policy.c @@ -125,8 +125,8 @@ static void *kdbus_recv_echo(void *ptr) } if (ret > 0 && fd.revents & POLLIN) { - printf("-- Connection id: %lu received new message:\n", - conn->id); + printf("-- Connection id: %llu received new message:\n", + (unsigned long long)conn->id); ret = msg_recv(conn); } -- 2.34.1