aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorAnders <anders.broman@ericsson.com>2015-06-04 16:12:04 +0200
committerAnders Broman <a.broman58@gmail.com>2015-06-04 15:10:15 +0000
commitfde38c099f062429dd501ab24efe4917f312b110 (patch)
tree36992fad222adaa308ed956fd174748b9a3ea30a /epan/proto.c
parent505d3038fca41575094a91eba93f5b928eb30349 (diff)
[MSVC 2015] Try to fix warinings turned errors.
Change-Id: Ife5aba55d6953fbd3874095f2e469a844ca8ef2e Reviewed-on: https://code.wireshark.org/review/8762 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>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 2c4d22385e..fd95afaf47 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -650,7 +650,7 @@ static void
free_GPtrArray_value(gpointer key, gpointer value, gpointer user_data _U_)
{
GPtrArray *ptrs = (GPtrArray *)value;
- gint hfid = (gint)(long)key;
+ gint hfid = GPOINTER_TO_UINT(key);
header_field_info *hfinfo;
PROTO_REGISTRAR_GET_NTH(hfid, hfinfo);