From 8a2dd6770aa42a6591284097206961e569be1e56 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 25 Sep 2024 13:14:01 +0900 Subject: [PATCH] backport: StringPart's extra type to uintptr_t --- src/helpers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers.h b/src/helpers.h index 4a63834..137bf06 100644 --- a/src/helpers.h +++ b/src/helpers.h @@ -19,6 +19,7 @@ // Standard library includes. #include +#include // Third-party includes. #include @@ -26,7 +27,7 @@ typedef struct C_SIMPLE_HTTP_String_Part { char *buf; size_t size; - size_t extra; + uintptr_t extra; } C_SIMPLE_HTTP_String_Part; void c_simple_http_cleanup_attr_string_part(C_SIMPLE_HTTP_String_Part **);