From ddb6513db32ea322f68a72a770417b62af669e8e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 13 Oct 2016 00:16:57 -0700 Subject: Fix call to ws_strtoi32(). Change-Id: I536ee3fbda563f4b544eea334c5d7e9a642c69e2 Reviewed-on: https://code.wireshark.org/review/18181 Reviewed-by: Guy Harris --- epan/dissectors/dcerpc/idl2wrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/dcerpc') diff --git a/epan/dissectors/dcerpc/idl2wrs.c b/epan/dissectors/dcerpc/idl2wrs.c index 95b56999d6..6f13704c41 100644 --- a/epan/dissectors/dcerpc/idl2wrs.c +++ b/epan/dissectors/dcerpc/idl2wrs.c @@ -3202,14 +3202,14 @@ readcnffile(FILE *fh) register_hf_rename(old_name, new_name); } else if(!strncmp(cnfline, "UNION_TAG_SIZE", 14)){ char *union_name, *union_tag; - int union_tag_size; + gint32 union_tag_size; union_tag_size_item_t *utsi; char *str; str=cnfline+14; str=str_read_string(str, &union_name); str_read_string(str, &union_tag); - if (!ws_strtoi32(union_tag, NULL, union_tag_size)) { + if (!ws_strtoi32(union_tag, NULL, &union_tag_size)) { FPRINTF(NULL, "UNION_TAG_SIZE: invalid string: %s\n", union_tag); exit(10); } -- cgit v1.2.3