include/grub/types.h: Add GRUB_SSIZE_MAX

In the same way as GRUB_SIZE_MAX, add GRUB_SSIZE_MAX.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Oliver Steffen 2023-05-26 13:35:46 +02:00 committed by Daniel Kiper
parent 6ad116e5ff
commit 389d3dc835

View File

@ -122,6 +122,7 @@ typedef grub_uint64_t grub_size_t;
typedef grub_int64_t grub_ssize_t;
# define GRUB_SIZE_MAX 18446744073709551615UL
# define GRUB_SSIZE_MAX 9223372036854775807L
# if GRUB_CPU_SIZEOF_LONG == 8
# define PRIxGRUB_SIZE "lx"
@ -140,6 +141,7 @@ typedef grub_uint32_t grub_size_t;
typedef grub_int32_t grub_ssize_t;
# define GRUB_SIZE_MAX 4294967295UL
# define GRUB_SSIZE_MAX 2147483647L
# define PRIxGRUB_SIZE "x"
# define PRIxGRUB_ADDR "x"