[Asterisk-cvs] zaptel tor2.c,1.24,1.25

markster markster
Mon Aug 8 02:39:21 CDT 2005


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

Modified Files:
	tor2.c 
Log Message:
Fix tor2 for 64 bit machines (bug #4914)


Index: tor2.c
===================================================================
RCS file: /usr/cvsroot/zaptel/tor2.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- tor2.c	15 Jan 2005 22:59:18 -0000	1.24
+++ tor2.c	8 Aug 2005 06:43:02 -0000	1.25
@@ -101,7 +101,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 */
@@ -1191,7 +1191,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