[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2012 - /team/mogorman/zapte...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Mon Jan 29 15:25:15 MST 2007


Author: kpfleming
Date: Mon Jan 29 16:25:14 2007
New Revision: 2012

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2012
Log:
compute write address properly

Modified:
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c

Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2012&r1=2011&r2=2012
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Mon Jan 29 16:25:14 2007
@@ -453,7 +453,7 @@
 static inline void __transmit_one(struct wcdte *wc, u8 *data, u32 length)
 {
 	u32 o2 = wc->tdbl * 4;
-	volatile u8 *writechunk = wc->writechunk + (wc->tdbl * SFRAME_SIZE);
+	volatile u8 *writechunk = (volatile u8 *) wc->writechunk + (wc->tdbl * SFRAME_SIZE);
 	u32 xmt_length;
 
 	debug_printk(1, "transmitting %d bytes from %p\n", length, data);



More information about the zaptel-commits mailing list