2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

fix casting problem

This commit is contained in:
Bob Halley
1999-06-28 18:29:35 +00:00
parent e410f46def
commit 38bc5e05ab
2 changed files with 4 additions and 4 deletions

View File

@@ -51,8 +51,8 @@ isc_sockaddr_equal(isc_sockaddr_t *a, isc_sockaddr_t *b)
case AF_INET: {
struct sockaddr_in *sina, *sinb;
sina = (struct sockaddr_in)sa;
sinb = (struct sockaddr_in)sb;
sina = (struct sockaddr_in *)sa;
sinb = (struct sockaddr_in *)sb;
if (sina->sin_port != sinb->sin_port)
return (ISC_FALSE);