diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-08-26 00:03:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-08-26 00:03:59 +0000 |
commit | c0540294d767630e8936e919da04ddbd10dda604 (patch) | |
tree | dc2a1e3c420a2fdbb1159c202420bff7d9afb767 | |
parent | d39ca47b629b48eb2e665a4876e340accdd140d9 (diff) |
Don't use %ld for guint64 - use PRIu64. (Also, don't use %d for guint32
- use %u.)
svn path=/trunk/; revision=19036
-rw-r--r-- | epan/dissectors/packet-mp2t.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c index 6e888e8fcf..b308f8e85c 100644 --- a/epan/dissectors/packet-mp2t.c +++ b/epan/dissectors/packet-mp2t.c @@ -2,7 +2,7 @@ * * Routines for RFC 2250 MPEG2 (ISO/IEC 13818-1) Transport Stream dissection * - * $Id:$ + * $Id$ * * Copyright 2006, Erwin Rol <erwin@erwinrol.com> * @@ -277,7 +277,7 @@ dissect_tsp( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree ) offset += 1; proto_tree_add_none_format(mp2t_af_tree, hf_mp2t_af_pcr, tvb, offset - 6, 6, - "Program Clock Reference: base(%ld) * 300 + ext(%d) = %ld", + "Program Clock Reference: base(%" PRIu64 ") * 300 + ext(%u) = %" PRIu64, pcr_base, pcr_ext, pcr_base * 300 + pcr_ext); } @@ -312,7 +312,7 @@ dissect_tsp( tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree ) offset += 1; proto_tree_add_none_format(mp2t_af_tree, hf_mp2t_af_opcr, tvb, offset - 6, 6, - "Original Program Clock Reference: base(%ld) * 300 + ext(%d) = %ld", + "Original Program Clock Reference: base(%" PRIu64 ") * 300 + ext(%u) = %" PRIu64, opcr_base, opcr_ext, opcr_base * 300 + opcr_ext); offset += 6; |