diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-03-18 20:47:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-03-18 20:47:22 +0000 |
commit | 7fe1c7daf5d14e94dba224a81aefc9b5ce8795ea (patch) | |
tree | 9fadcf1d89c62dd55ad3e70cabfe95c8e38c8c03 /epan/dissectors/packet-afs.c | |
parent | 59677ebed0014045c18e93bee0431c956e128b8b (diff) |
Get rid of P64 warnings; those strings should never be longer than 2^31-1.
svn path=/trunk/; revision=27784
Diffstat (limited to 'epan/dissectors/packet-afs.c')
-rw-r--r-- | epan/dissectors/packet-afs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c index c8b9325261..61cdb49181 100644 --- a/epan/dissectors/packet-afs.c +++ b/epan/dissectors/packet-afs.c @@ -663,8 +663,8 @@ static gint ett_afs_vldb_flags = -1; save = tree; \ tree = proto_item_add_subtree(ti, ett_afs_acl); \ proto_tree_add_string(tree,hf_afs_fs_acl_entity, tvb,offset,strlen(who), who);\ - tmpoffset = offset + strlen(who) + 1; \ - acllen = bytes - strlen(who) - 1; \ + tmpoffset = offset + (int)strlen(who) + 1; \ + acllen = bytes - (int)strlen(who) - 1; \ proto_tree_add_boolean(tree,hf_afs_fs_acl_r, tvb,tmpoffset,acllen,acl);\ proto_tree_add_boolean(tree,hf_afs_fs_acl_l, tvb,tmpoffset,acllen,acl);\ proto_tree_add_boolean(tree,hf_afs_fs_acl_i, tvb,tmpoffset,acllen,acl);\ |