diff options
Diffstat (limited to 'epan/dissectors/packet-raknet.c')
-rw-r--r-- | epan/dissectors/packet-raknet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-raknet.c b/epan/dissectors/packet-raknet.c index 24daf481fb..f9c1fb73f2 100644 --- a/epan/dissectors/packet-raknet.c +++ b/epan/dissectors/packet-raknet.c @@ -925,7 +925,7 @@ raknet_dissect_common_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *rak dissector_handle_t next_dissector; gint dissected; heur_dtbl_entry_t *hdtbl_entry; - const int* flag_flds[] = { + static int * const flag_flds[] = { &hf_raknet_message_reliability, &hf_raknet_message_has_split_packet, NULL @@ -1264,7 +1264,7 @@ raknet_dissect_connected_message(tvbuff_t *tvb, packet_info *pinfo, return tvb_captured_length(tvb); } else if (msg_type & (1 << 6)) { /* isACK */ - const int *ack_flds[] = { + static int * const ack_flds[] = { &hf_raknet_packet_is_for_connected, &hf_raknet_packet_is_ACK, &hf_raknet_packet_has_B_and_AS, @@ -1295,7 +1295,7 @@ raknet_dissect_connected_message(tvbuff_t *tvb, packet_info *pinfo, } } else if (msg_type & (1 << 5)) { /* isNAK */ - const int* nak_flds[] = { + static int * const nak_flds[] = { &hf_raknet_packet_is_for_connected, &hf_raknet_packet_is_ACK, &hf_raknet_packet_is_NAK, @@ -1327,7 +1327,7 @@ raknet_dissect_connected_message(tvbuff_t *tvb, packet_info *pinfo, */ guint32 packet_number; gboolean has_multiple_messages = FALSE; - const int* common_flds[] = { + static int * const common_flds[] = { &hf_raknet_packet_is_for_connected, &hf_raknet_packet_is_ACK, &hf_raknet_packet_is_NAK, |