mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Fix some type-punned warnings
This commit is contained in:
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user