forked from osmocom/wireshark
Use G_GINT64_CONSTANT() to make a 64-bit all-bits-set constant.
svn path=/trunk/; revision=33454
This commit is contained in:
parent
39f85d188c
commit
80c8a18da7
|
@ -9092,7 +9092,7 @@ dissect_nfs_argop4(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||||
lock_length = tvb_get_ntoh64(tvb, offset);
|
lock_length = tvb_get_ntoh64(tvb, offset);
|
||||||
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_length4, offset);
|
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_length4, offset);
|
||||||
offset = dissect_nfs_locker4(tvb, offset, newftree);
|
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>",
|
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);
|
last_fh_hash,file_offset);
|
||||||
else {
|
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);
|
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_offset4, offset);
|
||||||
lock_length = tvb_get_ntoh64(tvb, offset);
|
lock_length = tvb_get_ntoh64(tvb, offset);
|
||||||
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs_length4, 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>",
|
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);
|
last_fh_hash,file_offset);
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue