From 3d57b7a44dcb2ca8415ed0572013ec7fb940068e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 5 Aug 2014 16:33:56 +0200 Subject: [PATCH] refclock: fix compiler warning in SOCK error message --- refclock_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refclock_sock.c b/refclock_sock.c index f746aa54..97f740b2 100644 --- a/refclock_sock.c +++ b/refclock_sock.c @@ -64,7 +64,7 @@ static void read_sample(void *anything) if (s != sizeof (sample)) { LOG(LOGS_WARN, LOGF_Refclock, "Unexpected length of SOCK sample : %d != %ld", - s, sizeof (sample)); + s, (long)sizeof (sample)); return; } -- 2.47.2