From 219cd54870b4e1e949a8f5be3acab75f7ef14c24 Mon Sep 17 00:00:00 2001 From: LE/Jiri Novotny Date: Thu, 7 Sep 2023 13:42:03 +0200 Subject: [PATCH] api: fix typedefs to known lenght Signed-off-by: LE/Jiri Novotny --- common/inc/lx_api.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/inc/lx_api.h b/common/inc/lx_api.h index 314831a..117f961 100644 --- a/common/inc/lx_api.h +++ b/common/inc/lx_api.h @@ -127,18 +127,18 @@ extern "C" { #define VOID void typedef char CHAR; typedef char BOOL; -typedef unsigned char UCHAR; -typedef int INT; -typedef unsigned int UINT; -typedef long LONG; -typedef unsigned long ULONG; -typedef short SHORT; -typedef unsigned short USHORT; +typedef uint8_t UCHAR; +typedef int32_t INT; +typedef uint32_t UINT; +typedef int32_t LONG; +typedef uint32_t ULONG; +typedef int16_t SHORT; +typedef uint16_t USHORT; #endif #ifndef ULONG64_DEFINED #define ULONG64_DEFINED -typedef unsigned long long ULONG64; +typedef uint64_t ULONG64; #endif /* Define basic alignment type used in block and byte pool operations. This data type must