From 162bfcd5a1975207d4a0c102f4cb54d2cc602f79 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 16 May 2006 12:50:00 +0000 Subject: Fix type --- ncpd/ncp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ncpd/ncp.cc') 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:: -- cgit v1.2.3