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:
Huihuang Shi
2018-07-03 18:43:00 +08:00
committed by lijinxia
parent 2ffa69cb9a
commit ac7ba6c47f
2 changed files with 14 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ typedef _Bool bool;
#endif
#ifndef UINT64_MAX
#define UINT64_MAX (-1UL)
#define UINT64_MAX (0xffffffffffffffffUL)
#endif
#endif /* ASSEMBLER */