aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2023-06-11 17:10:58 -0400
committerJohn Thacker <johnthacker@gmail.com>2023-06-11 21:53:38 +0000
commitdf4add2ecb0cb027b7e3c81bc91f0f305de1f6fc (patch)
treea9bfc5e9953897c91954e33a72ad6926a8bd77f8 /epan
parentf8d2444bc3cc4dfa42eb7471d278b6331dffb112 (diff)
RPC: Cast to make clang happy
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index 14a6ea89ee..0cb72f085e 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -1229,7 +1229,7 @@ dissect_rpc_authglusterfs_v3_cred(tvbuff_t* tvb, proto_tree* tree, int offset)
offset = dissect_rpc_uint32(tvb, tree, hf_rpc_auth_gid, offset);
offset = dissect_rpc_uint32(tvb, tree, hf_rpc_auth_flags, offset);
timestamp.secs = tvb_get_ntohl(tvb, offset);
- timestamp.nsecs = tvb_get_ntohi64(tvb, offset + 4);
+ timestamp.nsecs = (int)tvb_get_ntohi64(tvb, offset + 4);
if (tree)
proto_tree_add_time(tree, hf_rpc_auth_ctime, tvb,
offset, 12, &timestamp);