[Asterisk-cvs] zaptel tor2.c,1.19.2.3,1.19.2.4

russell russell
Mon Aug 8 14:19:25 CDT 2005


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

Modified Files:
      Tag: v1-0
	tor2.c 
Log Message:
fix for 64 bit arch (bug #4914)


Index: tor2.c
===================================================================
RCS file: /usr/cvsroot/zaptel/tor2.c,v
retrieving revision 1.19.2.3
retrieving revision 1.19.2.4
diff -u -d -r1.19.2.3 -r1.19.2.4
--- tor2.c	17 Jan 2005 01:58:09 -0000	1.19.2.3
+++ tor2.c	8 Aug 2005 18:23:03 -0000	1.19.2.4
@@ -97,7 +97,7 @@
 	volatile unsigned short *plx;	/* Virtual representation of local space */
 	unsigned long xilinx32_region;	/* 32 bit Region allocated to Xilinx */
 	unsigned long xilinx32_len;	/* Length of 32 bit Xilinx region */
-	volatile unsigned long *mem32;	/* Virtual representation of 32 bit Xilinx memory area */
+	volatile unsigned int *mem32;	/* Virtual representation of 32 bit Xilinx memory area */
 	unsigned long xilinx8_region;	/* 8 bit Region allocated to Xilinx */
 	unsigned long xilinx8_len;	/* Length of 8 bit Xilinx region */
 	volatile unsigned char *mem8;	/* Virtual representation of 8 bit Xilinx memory area */
@@ -1172,7 +1172,7 @@
 #endif
 {
 	int n, i, j, k, syncsrc;
-	unsigned long rxword,txword;
+	unsigned int rxword,txword;
 
 	unsigned char c, rxc;
 	unsigned char abits, bbits;




More information about the svn-commits mailing list