aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-03-12 12:09:52 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-03-12 12:09:52 +0000
commitd3cff4643b9dd910560e00a9d5f53997ef028ec4 (patch)
treee8a8a53324afa5b37e4d04f17eb328821da59313
parenta8a7de17ea54ade64e1b0cfcb4e13f6f1239c39a (diff)
Use TRUE/FALSE for encoding_info to make it build.
Added packet-mndp.c to Makefile build. svn path=/trunk/; revision=36179
-rw-r--r--epan/dissectors/Makefile.common1
-rw-r--r--epan/dissectors/packet-mndp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/Makefile.common b/epan/dissectors/Makefile.common
index d73162e36c..af29ac39cc 100644
--- a/epan/dissectors/Makefile.common
+++ b/epan/dissectors/Makefile.common
@@ -124,6 +124,7 @@ ASN1_DISSECTOR_SRC = \
packet-idmp.c \
packet-logotypecertextn.c \
packet-mms.c \
+ packet-mndp.c \
packet-mpeg-audio.c \
packet-mpeg-pes.c \
packet-ns_cert_exts.c \
diff --git a/epan/dissectors/packet-mndp.c b/epan/dissectors/packet-mndp.c
index cd1991c279..e06d4c44ae 100644
--- a/epan/dissectors/packet-mndp.c
+++ b/epan/dissectors/packet-mndp.c
@@ -189,7 +189,7 @@ dissect_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *mndp_tree,
&& !value_array[type_index].specialfunction
&& value_array[type_index].evs != NULL
) {
- encoding_info = (guint)value_array[type_index].evs;
+ encoding_info = value_array[type_index].evs ? TRUE : FALSE;
} else {
encoding_info = FALSE;
}