Change StringPart's extra type to uintptr_t

This commit is contained in:
Stephen Seo 2024-09-25 13:14:01 +09:00
parent b9e4e3de5f
commit 4e670d24c8

View file

@ -19,6 +19,7 @@
// Standard library includes. // Standard library includes.
#include <stddef.h> #include <stddef.h>
#include <stdint.h>
// Third-party includes. // Third-party includes.
#include <SimpleArchiver/src/data_structures/linked_list.h> #include <SimpleArchiver/src/data_structures/linked_list.h>
@ -26,7 +27,7 @@
typedef struct C_SIMPLE_HTTP_String_Part { typedef struct C_SIMPLE_HTTP_String_Part {
char *buf; char *buf;
size_t size; size_t size;
size_t extra; uintptr_t extra;
} C_SIMPLE_HTTP_String_Part; } C_SIMPLE_HTTP_String_Part;
void c_simple_http_cleanup_attr_string_part(C_SIMPLE_HTTP_String_Part **); void c_simple_http_cleanup_attr_string_part(C_SIMPLE_HTTP_String_Part **);