gcc 4.4 fix: union instead of cast
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 9 Sep 2009 18:52:48 +0000 (18:52 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 9 Sep 2009 18:52:48 +0000 (18:52 +0000)
commit1ed1eb277e50dd1535e2d850a29f1ed6f055ec22
tree1a8f9b15044f0e86185b7379b679301311aac95a
parent2ee2947a55d82df8090268fb0abea36cca1dca67
gcc 4.4 fix: union instead of cast

gcc 4.4 has more strict rules for aliasing. It doesn't like a
struct sockaddr_in pointer pointing to a struct sockaddr. So we make it
a union.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_phoneprov.c