Skip to content

Commit

Permalink
signv4: added type cast to fix msvc compilation issue
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Oct 30, 2024
1 parent dc3ac0c commit 110ffea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_signv4_ng.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static void headers_sanitize_ng(struct flb_http_request *request, struct mk_list

/* Sanitize value */
v_start = header_entry->val;
v_end = header_entry->val + header_entry->val_size;
v_end = &((char *) header_entry->val)[header_entry->val_size];

if (header_entry->val_size > 0) {
v_end--;
Expand Down

0 comments on commit 110ffea

Please sign in to comment.