aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi-ssc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-05-29 18:52:42 +0000
committerGuy Harris <guy@alum.mit.edu>2007-05-29 18:52:42 +0000
commit5a43799a17572c9a9962dc76fd681a14bb7689de (patch)
tree362095c0935c7f6d8f0018b30fb612222ea70263 /epan/dissectors/packet-scsi-ssc.c
parentbf167869027678071c584520fee3e95f88680116 (diff)
Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines. GLib might use different modifiers for 64-bit quantities than the platform's C library does. svn path=/trunk/; revision=21990
Diffstat (limited to 'epan/dissectors/packet-scsi-ssc.c')
-rw-r--r--epan/dissectors/packet-scsi-ssc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-scsi-ssc.c b/epan/dissectors/packet-scsi-ssc.c
index 2b650e3b85..a4508570e1 100644
--- a/epan/dissectors/packet-scsi-ssc.c
+++ b/epan/dissectors/packet-scsi-ssc.c
@@ -963,7 +963,7 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
offset += 4;
proto_tree_add_text (tree, tvb, offset, 8,
- "Block Number: %" PRIu64,
+ "Block Number: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
offset += 8;
} else
@@ -971,12 +971,12 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
if (!(flags & MPU)) {
proto_tree_add_text (tree, tvb, offset, 8,
- "File Number: %" PRIu64,
+ "File Number: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
offset += 8;
proto_tree_add_text (tree, tvb, offset, 8,
- "Set Number: %" PRIu64,
+ "Set Number: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
offset += 8;
} else
@@ -1012,12 +1012,12 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
if (!(flags & BPU)) {
proto_tree_add_text (tree, tvb, offset, 8,
- "First Block Location: %" PRIu64,
+ "First Block Location: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
offset += 8;
proto_tree_add_text (tree, tvb, offset, 8,
- "Last Block Location: %" PRIu64,
+ "Last Block Location: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
offset += 8;
} else
@@ -1027,7 +1027,7 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
if (!(flags & BYCU)) {
proto_tree_add_text (tree, tvb, offset, 8,
- "Number of Bytes in Buffer: %" PRIu64,
+ "Number of Bytes in Buffer: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
}
offset += 8;