]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use unsigned ints for portinuri flags.
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 1 Oct 2009 15:24:00 +0000 (15:24 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 1 Oct 2009 15:24:00 +0000 (15:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@221588 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d69d4c6d5d28ccc4d4ff9e7f5dba82e909f8fa79..86dcad9e5fa9e3cd3d096c9141ab651af923c209 100644 (file)
@@ -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 */