1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

s3: Fix some type-punned warnings

This commit is contained in:
Volker Lendecke 2010-08-14 14:26:20 +02:00
parent 731604d8ae
commit 13d1e39e47

@ -66,7 +66,9 @@ static bool masked_match(const char *tok, const char *slash, const char *s)
} }
} }
return same_net((struct sockaddr *)&ss_host, (struct sockaddr *)&ss_tok, (struct sockaddr *)&ss_mask); return same_net((struct sockaddr *)(void *)&ss_host,
(struct sockaddr *)(void *)&ss_tok,
(struct sockaddr *)(void *)&ss_mask);
} }
/* string_match - match string s against token tok */ /* string_match - match string s against token tok */