Commit d8aabb00 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4537 placate braindead compiler

parent cf130414
......@@ -831,7 +831,8 @@ static int slap_get_listener_addresses(
sap[i]->sa_family = AF_INET;
((struct sockaddr_in *)sap[i])->sin_port = htons(port);
AC_MEMCPY( &((struct sockaddr_in *)sap[i])->sin_addr,
he ? he->h_addr_list[i] : &in, sizeof(struct in_addr) );
he ? (struct in_addr *)he->h_addr_list[i] : &in,
sizeof(struct in_addr) );
}
sap[i] = NULL;
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment