From 6459cabd68f4d02d7f915fe404d135708ba14ac7 Mon Sep 17 00:00:00 2001 From: sruffell Date: Thu, 5 Jun 2008 16:39:09 +0000 Subject: Fixed type of flags parameter to spin_lock_irqsave functions. Fixes compilation issues on platforms where int and long do not have the same size. Closes issue #12787 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4345 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- kernel/wcte12xp/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/wcte12xp/base.c b/kernel/wcte12xp/base.c index b08d4ac..4629517 100644 --- a/kernel/wcte12xp/base.c +++ b/kernel/wcte12xp/base.c @@ -1061,7 +1061,7 @@ static int t1xxp_echocan_with_params(struct zt_chan *chan, struct zt_echocanpara struct adt_lec_params params; struct t1 *wc = chan->pvt; struct vpm150m *vpm150m = wc->vpm150m; - unsigned int flags; + unsigned long flags; struct vpm150m_workentry *work; unsigned int ret; -- cgit v1.2.3