From 7828780bb781ee35aecf89ef06b7c122dba01781 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Fri, 7 Jul 2006 07:03:42 +0000 Subject: [PATCH] eliminate some pointer signedness warnings git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37291 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index de31ce0a5c..10fa7462fc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -507,9 +507,9 @@ static int global_allowguest; /*!< allow unauthenticated users/peers to connect static int global_allowsubscribe; /*!< Flag for disabling ALL subscriptions, this is FALSE only if all peers are FALSE the global setting is in globals_flags[1] */ static int global_mwitime; /*!< Time between MWI checks for peers */ -static int global_tos_sip; /*!< IP type of service for SIP packets */ -static int global_tos_audio; /*!< IP type of service for audio RTP packets */ -static int global_tos_video; /*!< IP type of service for video RTP packets */ +static unsigned int global_tos_sip; /*!< IP type of service for SIP packets */ +static unsigned int global_tos_audio; /*!< IP type of service for audio RTP packets */ +static unsigned int global_tos_video; /*!< IP type of service for video RTP packets */ static int compactheaders; /*!< send compact sip headers */ static int recordhistory; /*!< Record SIP history. Off by default */ static int dumphistory; /*!< Dump history to verbose before destroying SIP dialog */ @@ -15430,7 +15430,7 @@ static int reload_config(enum channelreloadreason reason) int auto_sip_domains = FALSE; struct sockaddr_in old_bindaddr = bindaddr; int registry_count = 0, peer_count = 0, user_count = 0; - int temp_tos = 0; + unsigned int temp_tos = 0; struct ast_flags debugflag = {0}; cfg = ast_config_load(config); -- GitLab