summaryrefslogtreecommitdiffstats
path: root/ie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ie.cpp')
-rw-r--r--ie.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ie.cpp b/ie.cpp
index 236e49a..a216703 100644
--- a/ie.cpp
+++ b/ie.cpp
@@ -74,7 +74,8 @@ void Pdss1::dec_ie_complete(unsigned char *p, Q931_info_t *qi, int *complete)
*complete = 1;
} else
#else
- unsigned char *p = l3m->sending_complete;
+ // special case: p is not a pointer, it's a value
+ unsigned char p = l3m->sending_complete;
#endif
if (p)
*complete = 1;