efi/http: change uint32_t to uintn_t
authorKeng-Yu Lin <kengyu@hpe.com>
Wed, 26 Apr 2023 05:43:16 +0000 (01:43 -0400)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 28 Jul 2024 22:42:11 +0000 (22:42 +0000)
Modify UINT32 to UINTN in EFI_HTTP_MESSAGE to
be UEFI 2.9 compliant.

Signed-off-by: Keng-Yu Lin <kengyu@hpe.com>
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
Ubuntu-Bug: https://bugs.launchpad.net/bugs/2043084

Gbp-Pq: Topic network
Gbp-Pq: Name rhboot-http-message-field-size.patch

include/grub/efi/http.h

index 79592cdb7b7ada0f580032959aab088e50b24c67..242d001b6249f855dfe1f8e3f397333be810150c 100644 (file)
@@ -171,9 +171,9 @@ typedef struct {
     grub_efi_http_request_data_t *request;
     grub_efi_http_response_data_t *response;
   } data;
-  grub_efi_uint32_t header_count;
+  grub_efi_uintn_t header_count;
   grub_efi_http_header_t *headers;
-  grub_efi_uint32_t body_length;
+  grub_efi_uintn_t body_length;
   void *body;
 } grub_efi_http_message_t;