mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-26 04:49:18 -05:00
[library] Fix macos format warning
library.c:233:123: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
This commit is contained in:
parent
679c142212
commit
ae7280b770
@ -230,7 +230,7 @@ library_callback_schedule(library_cb cb, void *arg, struct timeval *wait, enum l
|
|||||||
|
|
||||||
event_add(cbreg->ev, wait);
|
event_add(cbreg->ev, wait);
|
||||||
|
|
||||||
DPRINTF(E_DBG, L_LIB, "Added library callback to %p (id %d), wait %ld.%06ld\n", cbreg->cb, idx_available, wait->tv_sec, wait->tv_usec);
|
DPRINTF(E_DBG, L_LIB, "Added library callback to %p (id %d), wait %ld.%06ld\n", cbreg->cb, idx_available, (long) wait->tv_sec, (long) wait->tv_usec);
|
||||||
|
|
||||||
return idx_available;
|
return idx_available;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user