mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Fix compiler warnings.
This commit is contained in:
parent
e767bb9fe9
commit
c9236a7337
6 changed files with 9 additions and 9 deletions
|
|
@ -513,7 +513,7 @@ std::set<IP_PORT> Networking::resolve_ip(std::string dns)
|
|||
|
||||
if (getaddrinfo(dns.c_str(), NULL, NULL, &result) == 0) {
|
||||
for (struct addrinfo *res = result; res != NULL; res = res->ai_next) {
|
||||
PRINT_DEBUG("%u %u\n", res->ai_addrlen, res->ai_family);
|
||||
PRINT_DEBUG("%" PRI_ZU " %u\n", res->ai_addrlen, res->ai_family);
|
||||
if (res->ai_family == AF_INET) {
|
||||
struct sockaddr_in *ipv4 = (struct sockaddr_in *)res->ai_addr;
|
||||
uint32 ip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue