aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2006-05-16 12:50:00 +0000
committerReuben Thomas <rrt@sc3d.org>2006-05-16 12:50:00 +0000
commit162bfcd5a1975207d4a0c102f4cb54d2cc602f79 (patch)
treefbbb8249463ec77bbaebebe3573c4536792e939b /ncpd
parent7bcdfe764f60a51b6ac1de75ad0c49831ecf238a (diff)
downloadplptools-162bfcd5a1975207d4a0c102f4cb54d2cc602f79.tar.gz
plptools-162bfcd5a1975207d4a0c102f4cb54d2cc602f79.tar.bz2
plptools-162bfcd5a1975207d4a0c102f4cb54d2cc602f79.zip
Fix type
Diffstat (limited to 'ncpd')
-rw-r--r--ncpd/ncp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc
index 1bc39a3..90daa45 100644
--- a/ncpd/ncp.cc
+++ b/ncpd/ncp.cc
@@ -381,7 +381,7 @@ getFirstUnusedChan()
bool ncp::
isValidChannel(int channel)
{
- return (channelPtr[channel] && ((int)channelPtr[channel] != 0xdeadbeef));
+ return (channelPtr[channel] && ((long)channelPtr[channel] != 0xdeadbeef));
}
void ncp::