aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-21 02:41:29 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-21 02:41:29 +0000
commit300a400bd159deaae5ffdfb77e0a1ca2e54f1e52 (patch)
tree0d54866fff6143f9f25dd27dabbca5e6376d9697 /epan/dissectors/packet-http.c
parentc5ac4891cdd3c8aed8a71e626893b635603f081b (diff)
Use size_t to keep the Windows compiler happy
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34163 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-http.c')
-rw-r--r--epan/dissectors/packet-http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index e793b61db6..c9fce87ebf 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -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);