forked from osmocom/wireshark
eap: fix cast warning.
Change-Id: I94a4a927c91552f58ecec3d0d78efcf699bf77de Reviewed-on: https://code.wireshark.org/review/17881 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
0703c7b414
commit
2fa327ae0c
|
@ -607,9 +607,9 @@ dissect_eap_identity_wlan(tvbuff_t *tvb, proto_tree* tree, int offset, gint size
|
|||
mcc_mnc);
|
||||
|
||||
proto_tree_add_uint(eap_identity_tree, hf_eap_identity_wlan_mcc,
|
||||
tvb, offset + (guint)strlen(tokens[0]) + (guint)strlen("@wlan.") +
|
||||
(guint)strlen(tokens[2]) + 1 + strlen("mcc"), (guint)strlen(tokens[3]) -
|
||||
(guint)strlen("mcc"), mcc);
|
||||
tvb, offset + (guint)(strlen(tokens[0]) + strlen("@wlan.") +
|
||||
strlen(tokens[2]) + 1 + strlen("mcc")),
|
||||
(guint)(strlen(tokens[3]) - strlen("mcc")), mcc);
|
||||
end:
|
||||
g_strfreev(tokens);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue