mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[mdns] Use %zu for size_t in printf (removes warning about wrong
argument type)
This commit is contained in:
parent
91c3eb622c
commit
b75c07625c
@ -392,7 +392,7 @@ avahi_address_make(AvahiAddress *addr, AvahiProtocol proto, const void *rdata, s
|
||||
{
|
||||
if (size != sizeof(AvahiIPv4Address))
|
||||
{
|
||||
DPRINTF(E_LOG, L_MDNS, "Got RR type A size %d (should be %d)\n", size, sizeof(AvahiIPv4Address));
|
||||
DPRINTF(E_LOG, L_MDNS, "Got RR type A size %zu (should be %zu)\n", size, sizeof(AvahiIPv4Address));
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -404,7 +404,7 @@ avahi_address_make(AvahiAddress *addr, AvahiProtocol proto, const void *rdata, s
|
||||
{
|
||||
if (size != sizeof(AvahiIPv6Address))
|
||||
{
|
||||
DPRINTF(E_LOG, L_MDNS, "Got RR type AAAA size %d (should be %d)\n", size, sizeof(AvahiIPv6Address));
|
||||
DPRINTF(E_LOG, L_MDNS, "Got RR type AAAA size %zu (should be %zu)\n", size, sizeof(AvahiIPv6Address));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user