aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h223.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-08-05 14:37:20 +0200
committerAnders Broman <a.broman58@gmail.com>2015-08-05 12:40:36 +0000
commit2221153a9cc083a50248a72a4b4009908d84e38b (patch)
treed2863e912e4bee4a6852e35eb8a6f4c5c6dd7bd1 /epan/dissectors/packet-h223.c
parent5de487aa78aa6ae4fe1af991f6ce536d2ff5b5f6 (diff)
[MSVC 2015] Fix errors seen with the released version by reverting the
code to what failed on the RC version *sigh* Change-Id: I1b7f6d57da4cb71473a074291da7e5a0d5242c95 Reviewed-on: https://code.wireshark.org/review/9874 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-h223.c')
-rw-r--r--epan/dissectors/packet-h223.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c
index 2c0553f8e6..f358a46db6 100644
--- a/epan/dissectors/packet-h223.c
+++ b/epan/dissectors/packet-h223.c
@@ -193,7 +193,7 @@ static guint
circuit_chain_hash (gconstpointer v)
{
const circuit_chain_key *key = (const circuit_chain_key *)v;
- guint hash_val = ((guint32)(unsigned long)(key->call))^(((guint32)key->vc) << 16);
+ guint hash_val = (GPOINTER_TO_UINT(key->call)) ^ (((guint32)key->vc) << 16);
return hash_val;
}