refclock: fix compiler warning in SOCK error message
This commit is contained in:
parent
51a2b436f4
commit
3d57b7a44d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ static void read_sample(void *anything)
|
||||||
|
|
||||||
if (s != sizeof (sample)) {
|
if (s != sizeof (sample)) {
|
||||||
LOG(LOGS_WARN, LOGF_Refclock, "Unexpected length of SOCK sample : %d != %ld",
|
LOG(LOGS_WARN, LOGF_Refclock, "Unexpected length of SOCK sample : %d != %ld",
|
||||||
s, sizeof (sample));
|
s, (long)sizeof (sample));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue