forked from osmocom/wireshark
[iscsi] Add a cast "packet-iscsi.c(625): warning C4267: 'function' :
conversion from 'size_t' to 'guint', possible loss of data" Change-Id: I63ddf1384acdebc176a052489891d55d7a1b21ce Reviewed-on: https://code.wireshark.org/review/17920 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
fce2531169
commit
f3fede0099
|
@ -622,7 +622,7 @@ addTextKeys(packet_info *pinfo, proto_tree *tt, tvbuff_t *tvb, gint offset, guin
|
|||
|
||||
proto_tree_add_item(tt, hf_iscsi_KeyValue, tvb, offset, len, ENC_ASCII|ENC_NA);
|
||||
if (!strcmp(key, "TargetAddress")) {
|
||||
iscsi_dissect_TargetAddress(pinfo, tvb, tt, value, offset + strlen("TargetAddress") + 2);
|
||||
iscsi_dissect_TargetAddress(pinfo, tvb, tt, value, offset + (guint)strlen("TargetAddress") + 2);
|
||||
}
|
||||
|
||||
offset += len;
|
||||
|
|
Loading…
Reference in New Issue