summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common/source/encoding.c
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2025-05-12 15:51:24 +0300
committerthegeorg <[email protected]>2025-05-12 16:06:27 +0300
commitd629bb70c8773d2c0c43f5088ddbb5a86d8c37ea (patch)
tree4f678e0d65ad08c800db21c657d3b0f71fafed06 /contrib/restricted/aws/aws-c-common/source/encoding.c
parent92c4b696d7a1c03d54e13aff7a7c20a078d90dd7 (diff)
Update contrib/restricted/aws libraries to nixpkgs 24.05
commit_hash:f8083acb039e6005e820cdee77b84e0a6b6c6d6d
Diffstat (limited to 'contrib/restricted/aws/aws-c-common/source/encoding.c')
-rw-r--r--contrib/restricted/aws/aws-c-common/source/encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/restricted/aws/aws-c-common/source/encoding.c b/contrib/restricted/aws/aws-c-common/source/encoding.c
index 9ca5ca4fbaa..bc860aa4b99 100644
--- a/contrib/restricted/aws/aws-c-common/source/encoding.c
+++ b/contrib/restricted/aws/aws-c-common/source/encoding.c
@@ -185,7 +185,7 @@ int aws_hex_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct
/* if the buffer isn't even, prepend a 0 to the buffer. */
if (AWS_UNLIKELY(to_decode->len & 0x01)) {
i = 1;
- if (s_hex_decode_char_to_int(to_decode->ptr[0], &low_value)) {
+ if (s_hex_decode_char_to_int((char)to_decode->ptr[0], &low_value)) {
return aws_raise_error(AWS_ERROR_INVALID_HEX_STR);
}