aboutsummaryrefslogtreecommitdiffstats
path: root/packet-diameter.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-04 19:50:33 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-08-04 19:50:33 +0000
commite155df9ebbc9f686b31031b429eb21da8a9191de (patch)
tree4b9e8853d5eb129e8f971e5aa5898e00e34963c4 /packet-diameter.c
parentad2dde9602ad48c6a7b464b025f2044eafa4db61 (diff)
Don't cast "data" to "unsigned long long"; "long long" - or whatever
data type "gint64" really is - should be sufficiient for a %llx format, and not all compilers that support 64-bit data types have "long long". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3820 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-diameter.c')
-rw-r--r--packet-diameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-diameter.c b/packet-diameter.c
index a77d31fe7c..ea007c8e92 100644
--- a/packet-diameter.c
+++ b/packet-diameter.c
@@ -1,7 +1,7 @@
/* packet-diameter.c
* Routines for DIAMETER packet disassembly
*
- * $Id: packet-diameter.c,v 1.25 2001/07/30 20:08:44 guy Exp $
+ * $Id: packet-diameter.c,v 1.26 2001/08/04 19:50:33 guy Exp $
*
* Copyright (c) 2001 by David Frascone <dave@frascone.com>
*
@@ -749,7 +749,7 @@ static void dissect_avps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *avp_tree
/* data = ntohll(data); */
proto_tree_add_int_format(avpi_tree, hf_diameter_avp_data_int64,
tvb, offset, avpDataLength, data,
- "Value: 0x%016llx (%lld)", (unsigned long long)data, data );
+ "Value: 0x%016llx (%lld)", data, data );
}
break;
case DIAMETER_UNSIGNED64: