summaryrefslogtreecommitdiffstats
path: root/ie.cpp
diff options
context:
space:
mode:
authorKarsten Keil2008-09-02 02:02:11 +0200
committerKarsten Keil2008-09-02 02:02:11 +0200
commit08aad9a8c5ad279759e0a870b1dd0d8159ce3444 (patch)
tree90dded99cc57d2149905871ecc6bfa1ece6fe701 /ie.cpp
parentFix 64bit build (diff)
downloadlcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.tar.gz
lcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.tar.xz
lcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.zip
Fix lot of warnings
Diffstat (limited to 'ie.cpp')
-rw-r--r--ie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ie.cpp b/ie.cpp
index c44c166..31e6a35 100644
--- a/ie.cpp
+++ b/ie.cpp
@@ -774,7 +774,7 @@ void Pdss1::dec_ie_channel_id(struct l3_msg *l3m, int *exclusive, int *channel)
return;
}
*channel = p[3] & 0x7f;
- if (*channel<1 | *channel==16)
+ if ((*channel<1) || (*channel==16))
{
add_trace("channel_id", "error", "PRI interface channel out of range (%d)", *channel);
return;