From dfd3cc8c0eb7f3479ee08b5e518abd264da56a29 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 27 Jun 2017 17:27:18 +0300 Subject: Applied nxt_pointer_to() and nxt_value_at() where possible. --- src/nxt_http_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_http_parse.c') 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); } } -- cgit