refclock: fix compiler warning in SOCK error message

This commit is contained in:
Miroslav Lichvar 2014-08-05 16:33:56 +02:00
parent 51a2b436f4
commit 3d57b7a44d

View file

@ -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;
}