aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/ncp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/ncp.cc')
-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::