Use size_t to keep the Windows compiler happy
svn path=/trunk/; revision=34163
This commit is contained in:
parent
f2d070f19e
commit
79e39c7ecb
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
|
||||
if (tree && stat_info->http_host && stat_info->request_uri) {
|
||||
proto_item *e_ti;
|
||||
gint size = strlen("http://") + strlen(stat_info->http_host)
|
||||
size_t size = strlen("http://") + strlen(stat_info->http_host)
|
||||
+ strlen(stat_info->request_uri) + 1;
|
||||
char *uri = ep_alloc(size);
|
||||
|
||||
|
|
Loading…
Reference in a new issue