aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-07-06 09:51:28 +0000
committerGuy Harris <guy@alum.mit.edu>2010-07-06 09:51:28 +0000
commit80c8a18da7da5e06c5ad9ab085fa9786da5c579f (patch)
tree0c143aa179d770d0cc05c00de3eb4b4d940d1c2a
parent39f85d188c35b22c07fd4ad83b761cfadba11abe (diff)
Use G_GINT64_CONSTANT() to make a 64-bit all-bits-set constant.
svn path=/trunk/; revision=33454
-rw-r--r--epan/dissectors/packet-nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 24297cbbd7..f0279e01e8 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -9092,7 +9092,7 @@ dissect_nfs_argop4(tvbuff_t *tvb, int offset, packet_info *pinfo,
lock_length = tvb_get_ntoh64(tvb, offset);
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_length4, offset);
offset = dissect_nfs_locker4(tvb, offset, newftree);
- if (lock_length == G_MAXUINT64)
+ if (lock_length == G_GINT64_CONSTANT(0xffffffffffffffffU))
g_string_append_printf (op_summary[ops_counter].optext, " FH: 0x%08x Offset: %"G_GINT64_MODIFIER"u Length: <End of File>",
last_fh_hash,file_offset);
else {
@@ -9117,7 +9117,7 @@ dissect_nfs_argop4(tvbuff_t *tvb, int offset, packet_info *pinfo,
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_offset4, offset);
lock_length = tvb_get_ntoh64(tvb, offset);
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_length4, offset);
- if (lock_length == G_MAXUINT64)
+ if (lock_length == G_GINT64_CONSTANT(0xffffffffffffffffU))
g_string_append_printf (op_summary[ops_counter].optext, " FH: 0x%08x Offset: %"G_GINT64_MODIFIER"u Length: <End of File>",
last_fh_hash,file_offset);
else {