From: Matthew Nicholson Date: Thu, 1 Oct 2009 15:26:20 +0000 (+0000) Subject: Merged revisions 221588 via svnmerge from X-Git-Tag: 11.0.0-beta1~4098 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da169b2db43ead265b44416beb910e6d7ea796be;p=thirdparty%2Fasterisk.git Merged revisions 221588 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r221588 | mnicholson | 2009-10-01 10:24:00 -0500 (Thu, 01 Oct 2009) | 2 lines Use unsigned ints for portinuri flags. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@221589 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d579e00eff..a7f9880839 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1776,7 +1776,7 @@ struct sip_pvt { long branch; /*!< The branch identifier of this session */ long invite_branch; /*!< The branch used when we sent the initial INVITE */ int64_t sessionversion_remote; /*!< Remote UA's SDP Session Version */ - int portinuri:1; /*!< Non zero if a port has been specified, will also disable srv lookups */ + unsigned int portinuri:1; /*!< Non zero if a port has been specified, will also disable srv lookups */ struct sockaddr_in sa; /*!< Our peer */ struct sockaddr_in redirip; /*!< Where our RTP should be going if not to us */ struct sockaddr_in vredirip; /*!< Where our Video RTP should be going if not to us */ @@ -2030,7 +2030,7 @@ struct sip_peer { struct sip_proxy *outboundproxy; /*!< Outbound proxy for this peer */ struct ast_dnsmgr_entry *dnsmgr;/*!< DNS refresh manager for peer */ struct sockaddr_in addr; /*!< IP address of peer */ - int portinuri:1; /*!< Whether the port should be included in the URI */ + unsigned int portinuri:1; /*!< Whether the port should be included in the URI */ struct sip_pvt *call; /*!< Call pointer */ int pokeexpire; /*!< Qualification: When to expire poke (qualify= checking) */ int lastms; /*!< Qualification: How long last response took (in ms), or -1 for no response */