[zaptel-commits] mattf: branch 1.4 r4185 - /branches/1.4/kernel/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Sat Apr 19 17:05:43 CDT 2008


Author: mattf
Date: Sat Apr 19 17:05:42 2008
New Revision: 4185

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4185
Log:
Fix compiler from complaining

Modified:
    branches/1.4/kernel/zaptel-base.c

Modified: branches/1.4/kernel/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/zaptel-base.c?view=diff&rev=4185&r1=4184&r2=4185
==============================================================================
--- branches/1.4/kernel/zaptel-base.c (original)
+++ branches/1.4/kernel/zaptel-base.c Sat Apr 19 17:05:42 2008
@@ -3543,7 +3543,7 @@
 		printk(KERN_INFO "Dump of Zaptel Channel %d (%s,%d,%d):\n\n",j,
 			mychan->name,mychan->channo,mychan->chanpos);
 		printk(KERN_INFO "flags: %x hex, writechunk: %08lx, readchunk: %08lx\n",
-			mychan->flags, (long) mychan->writechunk, (long) mychan->readchunk);
+			(unsigned int) mychan->flags, (long) mychan->writechunk, (long) mychan->readchunk);
 		printk(KERN_INFO "rxgain: %08lx, txgain: %08lx, gainalloc: %d\n",
 			(long) mychan->rxgain, (long)mychan->txgain, mychan->gainalloc);
 		printk(KERN_INFO "span: %08lx, sig: %x hex, sigcap: %x hex\n",




More information about the zaptel-commits mailing list