aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/v6/udp_address.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-11-18 19:46:34 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-11-18 20:02:45 +0300
commit6c9370843e7e74f3717a884e07d285fc54392a8d (patch)
tree96708edcb279fedbc986b57df44838fee8a64e67 /library/cpp/netliba/v6/udp_address.cpp
parent9034652d9fcda22d641b8b030a757a3942112f5f (diff)
downloadydb-6c9370843e7e74f3717a884e07d285fc54392a8d.tar.gz
Enable -Wformat under clang-cl
commit_hash:b2cf3b80a36e4867b03a79f3e2c552f19920016f
Diffstat (limited to 'library/cpp/netliba/v6/udp_address.cpp')
-rw-r--r--library/cpp/netliba/v6/udp_address.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/netliba/v6/udp_address.cpp b/library/cpp/netliba/v6/udp_address.cpp
index ba5fd6f45b..be823e2dfa 100644
--- a/library/cpp/netliba/v6/udp_address.cpp
+++ b/library/cpp/netliba/v6/udp_address.cpp
@@ -196,7 +196,7 @@ namespace NNetliba {
continue;
}
if (ptr->Mtu < 1280) {
- fprintf(stderr, "WARNING: MTU %d is less then ipv6 minimum", ptr->Mtu);
+ fprintf(stderr, "WARNING: MTU %lu is less then ipv6 minimum", ptr->Mtu);
}
for (IP_ADAPTER_UNICAST_ADDRESS* addr = ptr->FirstUnicastAddress; addr; addr = addr->Next) {
sockaddr* x = (sockaddr*)addr->Address.lpSockaddr;