forked from osmocom/wireshark
Add a cast to fix g4cc694839d.
Apparently very recent gcc versions *do* complain about the cast from gint to enum, despite the comment to the contrary. Change-Id: I422df9950f1c7c46ca8ea37a0e3abd7aa8fc1c7d Reviewed-on: https://code.wireshark.org/review/89 Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
c93ddddb6e
commit
6d2f865b35
|
@ -77,7 +77,8 @@ dissect_time(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
guint32 delta_seconds = tvb_get_ntohl(tvb, 0);
|
||||
proto_tree_add_uint_format(time_tree, hf_time_time, tvb, 0, 4,
|
||||
delta_seconds, "%s",
|
||||
abs_time_secs_to_ep_str(delta_seconds-2208988800U, time_display_type, TRUE));
|
||||
abs_time_secs_to_ep_str(delta_seconds-2208988800U,
|
||||
(absolute_time_display_e)time_display_type, TRUE));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue