mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
HV:lib:fix "signed/unsigned conversion without cast"
Misra C required signed/unsigned conversion with cast. V1->V2: a.split patch to patch series V2->V3: a.change the uint64_t type numeric constant's suffix from U to UL Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -44,7 +44,7 @@ typedef _Bool bool;
|
||||
#endif
|
||||
|
||||
#ifndef UINT64_MAX
|
||||
#define UINT64_MAX (-1UL)
|
||||
#define UINT64_MAX (0xffffffffffffffffUL)
|
||||
#endif
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
Reference in New Issue
Block a user