summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_parse.c')
-rw-r--r--src/nxt_http_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c
index 21d8f99c..abdb23fa 100644
--- a/src/nxt_http_parse.c
+++ b/src/nxt_http_parse.c
@@ -746,7 +746,7 @@ nxt_http_fields_hash_create(nxt_http_fields_hash_entry_t *entries,
break;
}
- elt = (nxt_http_fields_hash_elt_t *) ((u_char *) elt + size);
+ elt = nxt_pointer_to(elt, size);
}
}