From: Michael Jerris Date: Sat, 6 Sep 2008 23:11:45 +0000 (+0000) Subject: don't overflow int type X-Git-Tag: v1.0.6~38^2~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e83cc2d3b3ca449cae2e8be25fb0e16760654e;p=thirdparty%2Ffreeswitch.git don't overflow int type git-svn-id: http://svn.openzap.org/svn/openzap/trunk@542 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/src/include/zap_types.h b/libs/openzap/src/include/zap_types.h index 3c04b8db8d..f3b75bac98 100644 --- a/libs/openzap/src/include/zap_types.h +++ b/libs/openzap/src/include/zap_types.h @@ -163,7 +163,7 @@ typedef enum { ZAP_ALARM_NOTOPEN = ( 1 << 6), ZAP_ALARM_AIS = ( 1 << 7), ZAP_ALARM_RAI = ( 1 << 8), - ZAP_ALARM_GENERAL = ( 1 << 31) + ZAP_ALARM_GENERAL = ( 1 << 30) } zap_alarm_flag_t; typedef enum { @@ -232,7 +232,7 @@ typedef enum { ZAP_CODEC_ULAW = 0, ZAP_CODEC_ALAW = 8, ZAP_CODEC_SLIN = 10, - ZAP_CODEC_NONE = (1 << 31) + ZAP_CODEC_NONE = (1 << 30) } zap_codec_t; typedef enum {