[asterisk-commits] mattf: branch 1.4 r47480 - /branches/1.4/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Nov 10 15:23:59 MST 2006


Author: mattf
Date: Fri Nov 10 16:23:58 2006
New Revision: 47480

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47480
Log:
Make sure we don't use 32bits when we only need one bit.

Modified:
    branches/1.4/channels/chan_zap.c

Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=47480&r1=47479&r2=47480
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Fri Nov 10 16:23:58 2006
@@ -577,8 +577,8 @@
 	unsigned int firstradio:1;
 	unsigned int hanguponpolarityswitch:1;
 	unsigned int hardwaredtmf:1;
-	unsigned int hidecallerid;
-	unsigned int hidecalleridname;      /*!< Hide just the name not the number for legacy PBX use */
+	unsigned int hidecallerid:1;
+	unsigned int hidecalleridname:1;      /*!< Hide just the name not the number for legacy PBX use */
 	unsigned int ignoredtmf:1;
 	unsigned int immediate:1;			/*!< Answer before getting digits? */
 	unsigned int inalarm:1;



More information about the asterisk-commits mailing list