summaryrefslogtreecommitdiffstats
path: root/sys/netatm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatm')
-rw-r--r--sys/netatm/uni/unisig_encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/unisig_encode.c b/sys/netatm/uni/unisig_encode.c
index 4ecfc9c..666a3ec 100644
--- a/sys/netatm/uni/unisig_encode.c
+++ b/sys/netatm/uni/unisig_encode.c
@@ -1533,7 +1533,7 @@ usf_enc_ie_ident(usf, ie, tbl)
*/
cp = (char *) ((intptr_t)ie + tbl[i].f_offs);
if (tbl[i].len == 0) {
- if ((*cp == T_NO || *cp == T_ATM_ABSENT))
+ if ((*cp == T_NO || *(int8_t *)cp == T_ATM_ABSENT))
continue;
} else {
switch (tbl[i].f_size) {
OpenPOWER on IntegriCloud