summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-06-05 16:39:09 +0000
committersruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-06-05 16:39:09 +0000
commit5f81cffe360284f13af48946348ad871873eef22 (patch)
tree6cf58f5e0f6cebe8eeb68bd51625ca2f28d352e5
parent0c0b2434d7e0163367f13e8feadb470aa918d8a6 (diff)
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.2@4345 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wcte12xp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcte12xp/base.c b/wcte12xp/base.c
index cd8c0d6..655d7da 100644
--- a/wcte12xp/base.c
+++ b/wcte12xp/base.c
@@ -1059,7 +1059,7 @@ static int t1xxp_echocan(struct zt_chan *chan, int eclen)
struct t1 *wc = chan->pvt;
if (wc->vpm150m) {
struct vpm150m *vpm150m = wc->vpm150m;
- unsigned int flags;
+ unsigned long flags;
/* add this to our list of work to do */
struct vpm150m_workentry *work;