packet-ansi_a.c(460) : warning C4090: 'return' : different 'const' qualifiers
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Jun 2005 10:55:34 +0000 (10:55 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Jun 2005 10:55:34 +0000 (10:55 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14771 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-ansi_a.c

index f66613a81418db8b9458b270736c46b183fbb2ec..510b8fa8ac6d6dfed41a86c55bf505bf6a4720a8 100644 (file)
@@ -447,7 +447,7 @@ my_dgt_tbcd_unpack(
     return(cnt);
 }
 
-static gchar *
+static const gchar *
 my_match_strval(guint32 val, const value_string *vs, gint *idx)
 {
     gint i = 0;
@@ -4516,7 +4516,7 @@ elem_ms_info_recs(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gc
     guint8     num_recs;
     guint32    value;
     guint32    curr_offset;
-    gchar      *str;
+    const gchar        *str;
     gint       ett_elem_idx, idx, i;
     proto_tree *subtree;
     proto_item *item;
@@ -7950,7 +7950,7 @@ dissect_bsmap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     gint                       idx;
     proto_item                 *bsmap_item = NULL;
     proto_tree                 *bsmap_tree = NULL;
-    gchar                      *msg_str;
+    const gchar                        *msg_str;
 
 
     if (check_col(pinfo->cinfo, COL_INFO))
@@ -8056,7 +8056,7 @@ dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     proto_tree                 *dtap_tree = NULL;
     proto_item                 *oct_1_item = NULL;
     proto_tree                 *oct_1_tree = NULL;
-    gchar                      *msg_str;
+    const gchar                        *msg_str;
     gchar                      *str;