Use the GPOINTER_TO UINT macro rather than trying to do the casts
manually. This makes MSVC 2015 happy. Change-Id: I50ebcb5860863cd6e212bb0964998292a46075f5 Reviewed-on: https://code.wireshark.org/review/8744 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
6148cd3c6b
commit
dbcd2a20ba
|
@ -2473,7 +2473,7 @@ dissector_dump_decodes_display(const gchar *table_name,
|
|||
ftenum_t selector_type _U_, const gpointer key, const gpointer value,
|
||||
gpointer user_data _U_)
|
||||
{
|
||||
guint32 selector = (guint32)(unsigned long) key;
|
||||
guint32 selector = GPOINTER_TO_UINT (key);
|
||||
dissector_table_t sub_dissectors = find_dissector_table(table_name);
|
||||
dtbl_entry_t *dtbl_entry;
|
||||
dissector_handle_t handle;
|
||||
|
|
Loading…
Reference in New Issue