From 3122d1afe6f67c93c15b25d42b7f87519862da0d Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sun, 22 Jul 2007 08:58:36 +0000 Subject: Update to 1.4.6. Submitted by: Oleksandr Tymoshenko --- misc/zaptel/files/patch-zaptel::zt_chan.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 misc/zaptel/files/patch-zaptel::zt_chan.c (limited to 'misc/zaptel/files/patch-zaptel::zt_chan.c') diff --git a/misc/zaptel/files/patch-zaptel::zt_chan.c b/misc/zaptel/files/patch-zaptel::zt_chan.c new file mode 100644 index 000000000000..d241f6fe2db7 --- /dev/null +++ b/misc/zaptel/files/patch-zaptel::zt_chan.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- zaptel/zt_chan.c ++++ zaptel/zt_chan.c +@@ -1267,7 +1267,7 @@ + struct zt_chan *chan; + int channo = 0; + int res; +- int flags; ++ unsigned long flags; + + chan = (struct zt_chan *) (dev->si_drv1); + +@@ -1282,7 +1282,7 @@ + return EINVAL; + if (channo > ZT_MAX_CHANNELS) + return EINVAL; +- flags = (int)dev->si_drv1; ++ flags = (unsigned long)dev->si_drv1; + res = zt_specchan_open(dev, channo, 0); + if (!res) { + /* Setup the pointer for future stuff */ -- cgit v1.2.3