aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-11-20 08:59:19 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-11-20 08:59:19 +0000
commit42b44648c89781aa449d3add9dcb3348ffb53513 (patch)
tree4c1a556bd566020b428a6c6664dcd0fcbfed1238 /epan/dissectors/packet-per.c
parent56903273cc78a604fc1b90b1cba4c17eda290dd3 (diff)
Get rid of Warnings.
svn path=/trunk/; revision=39954
Diffstat (limited to 'epan/dissectors/packet-per.c')
-rw-r--r--epan/dissectors/packet-per.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-per.c b/epan/dissectors/packet-per.c
index c5b8302cba..2ac545ccee 100644
--- a/epan/dissectors/packet-per.c
+++ b/epan/dissectors/packet-per.c
@@ -944,7 +944,7 @@ dissect_per_object_identifier_str(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *act
/* this function reads a single bit */
guint32
-dissect_per_boolean(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx _U_, proto_tree *tree, int hf_index, gboolean *bool)
+dissect_per_boolean(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx _U_, proto_tree *tree, int hf_index, gboolean *bool_val)
{
guint8 ch, mask;
gboolean value;
@@ -979,8 +979,8 @@ DEBUG_ENTRY("dissect_per_boolean");
actx->created_item = NULL;
}
- if(bool){
- *bool=value;
+ if(bool_val){
+ *bool_val=value;
}
return offset+1;
}