diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2007-07-22 08:58:36 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2007-07-22 08:58:36 +0000 |
commit | 3122d1afe6f67c93c15b25d42b7f87519862da0d (patch) | |
tree | d49dbf7f0eccfe37e5eb2a85ad091d62aa8f42a9 /misc/zaptel/files/patch-zaptel::zt_chan.c | |
parent | Mark as deprecated: last release 2000, depends on forbidden port misc/compat3x. (diff) |
Update to 1.4.6.
Submitted by: Oleksandr Tymoshenko
Notes
Notes:
svn path=/head/; revision=196045
Diffstat (limited to 'misc/zaptel/files/patch-zaptel::zt_chan.c')
-rw-r--r-- | misc/zaptel/files/patch-zaptel::zt_chan.c | 23 |
1 files changed, 23 insertions, 0 deletions
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 */ |