diff options
-rw-r--r-- | epan/dissectors/packet-nfs.c | 4 |
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 { |