From 086e4bbc07f24e6f9dd7786c7aa7c7ae96f02ae9 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 18 Dec 2021 00:22:28 +0500 Subject: [PATCH] Use uint8_t --- include/kernaux/pfa.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/kernaux/pfa.h b/include/kernaux/pfa.h index e419967..afe9cc3 100644 --- a/include/kernaux/pfa.h +++ b/include/kernaux/pfa.h @@ -7,6 +7,7 @@ extern "C" { #include #include +#include #define KERNAUX_PFA_PAGE_SIZE (4 * 1024) #define KERNAUX_PFA_PAGES_COUNT_MAX (1024 * 1024) @@ -15,7 +16,7 @@ extern "C" { typedef struct KernAux_PFA *KernAux_PFA; struct KernAux_PFA { - unsigned char flags[KERNAUX_PFA_FLAGS_SIZE]; + uint8_t flags[KERNAUX_PFA_FLAGS_SIZE]; }; void KernAux_PFA_initialize(KernAux_PFA pfa);