diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-18 19:50:04 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-18 19:50:04 +0000 |
commit | d8a6e8943b8214205071ebefcf735ff10545f56e (patch) | |
tree | fdf74cadb39f471293f4500f74e561e512c6ef93 /sounds | |
parent | 4807c7d193ebbadfef2624846462f5ead00a31a1 (diff) |
Resolve some compiler errors in ast_sockaddr_is_any().
These errors came up once this function was used from within netsock2.c.
The errors were like the following:
netsock2.c:393: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
The usage of a union here avoids this problem.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292188 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
0 files changed, 0 insertions, 0 deletions