[Asterisk-cvs] zaptel wcfxs.c,1.82,1.83

markster at lists.digium.com markster at lists.digium.com
Wed Sep 8 21:02:53 CDT 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv3298

Modified Files:
	wcfxs.c 
Log Message:
Fix GCC 2.96 build (bug #2402)


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- wcfxs.c	8 Sep 2004 03:48:56 -0000	1.82
+++ wcfxs.c	9 Sep 2004 01:05:03 -0000	1.83
@@ -926,6 +926,7 @@
 {
 	unsigned char vbat;
 	unsigned long origjiffies;
+	int lim;
 
 	/* Set period of DC-DC converter to 1/64 khz */
 	wcfxs_setreg(wc, card, 92, 0xff /* was 0xff */);
@@ -959,7 +960,6 @@
 
         /* Proslic max allowed loop current, reg 71 LOOP_I_LIMIT */
         /* If out of range, just set it to the default value     */
-        int lim;
         lim = (loopcurrent - 20) / 3;
         if ( loopcurrent > 41 ) {
                 lim = 0;




More information about the svn-commits mailing list