backport: Fix type set "extra" var on string part
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 7s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 7s
This commit is contained in:
parent
8a2dd6770a
commit
c4eff1cbaa
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ void c_simple_http_cleanup_string_part(void *data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void c_simple_http_add_string_part(
|
void c_simple_http_add_string_part(
|
||||||
SDArchiverLinkedList *list, const char *c_string, size_t extra) {
|
SDArchiverLinkedList *list, const char *c_string, uintptr_t extra) {
|
||||||
C_SIMPLE_HTTP_String_Part *string_part =
|
C_SIMPLE_HTTP_String_Part *string_part =
|
||||||
malloc(sizeof(C_SIMPLE_HTTP_String_Part));
|
malloc(sizeof(C_SIMPLE_HTTP_String_Part));
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ void c_simple_http_cleanup_string_part(void *data);
|
||||||
/// Puts a malloced instance of String_Part into the list.
|
/// Puts a malloced instance of String_Part into the list.
|
||||||
/// The given c_string will be copied into a newly malloced buffer.
|
/// The given c_string will be copied into a newly malloced buffer.
|
||||||
void c_simple_http_add_string_part(
|
void c_simple_http_add_string_part(
|
||||||
SDArchiverLinkedList *list, const char *c_string, size_t extra);
|
SDArchiverLinkedList *list, const char *c_string, uintptr_t extra);
|
||||||
|
|
||||||
/// Combines all String_Parts in the list and returns it as a single buffer.
|
/// Combines all String_Parts in the list and returns it as a single buffer.
|
||||||
char *c_simple_http_combine_string_parts(const SDArchiverLinkedList *list);
|
char *c_simple_http_combine_string_parts(const SDArchiverLinkedList *list);
|
||||||
|
|
Loading…
Reference in a new issue