packet-beep.c: Pacify OS X buildbot with cast

Change-Id: I0149546cdd2aac8335dcb1046d31ed857ed674f3
Reviewed-on: https://code.wireshark.org/review/16428
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2016-07-14 07:46:13 -04:00
parent 81beae97c3
commit 4eecdff6ca
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ dissect_beep_int(tvbuff_t *tvb, int offset,
int ival, ind = 0;
unsigned int len = num_len(tvb, offset);
ival = strtol(tvb_get_string_enc(wmem_packet_scope(), tvb, offset, len, ENC_ASCII), NULL, 10);
ival = (int)strtol(tvb_get_string_enc(wmem_packet_scope(), tvb, offset, len, ENC_ASCII), NULL, 10);
proto_tree_add_uint(tree, hf, tvb, offset, len, ival);
while (hfa[ind]) {