aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/http/http_router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/http/http_router.c')
-rw-r--r--src/libserver/http/http_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/http/http_router.c b/src/libserver/http/http_router.c
index a5b960e72..960df0ce3 100644
--- a/src/libserver/http/http_router.c
+++ b/src/libserver/http/http_router.c
@@ -291,7 +291,7 @@ rspamd_http_router_finish_handler (struct rspamd_http_connection *conn,
http_parser_parse_url (msg->url->str, msg->url->len, TRUE, &u);
if (u.field_set & (1 << UF_PATH)) {
- guint unnorm_len;
+ gsize unnorm_len;
pathbuf = g_malloc (u.field_data[UF_PATH].len);
memcpy (pathbuf, msg->url->str + u.field_data[UF_PATH].off,