aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-01 15:24:00 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-01 15:24:00 +0000
commitefb45e1295b1a4fc69c85faa255e35df0a60d3da (patch)
treee449fd98ae4884b7abaa8e65d800d1e8d9bd9c5c /channels
parentc3773d8282a1b44089fa968cb35024333a5b9f33 (diff)
Use unsigned ints for portinuri flags.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@221588 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d69d4c6d5..86dcad9e5 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -991,7 +991,7 @@ static struct sip_pvt {
char tag[11]; /*!< Our tag for this session */
int sessionid; /*!< SDP Session ID */
int sessionversion; /*!< 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 */
@@ -1162,7 +1162,7 @@ struct sip_peer {
ast_group_t pickupgroup; /*!< Pickup group */
struct sockaddr_in addr; /*!< IP address of peer */
int maxcallbitrate; /*!< Maximum Bitrate for a video call */
- 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 */
/* Qualification */
struct sip_pvt *call; /*!< Call pointer */