mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
Avoid C4319 warnings from UNW_ALIGN
This commit is contained in:
committed by
Stephen M. Webb
parent
2978966905
commit
a0b61b3e1c
@@ -431,6 +431,6 @@ static inline void invalidate_edi (struct elf_dyn_info *edi)
|
||||
# define DWARF_VAL_LOC(c,v) DWARF_NULL_LOC
|
||||
#endif
|
||||
|
||||
#define UNW_ALIGN(x,a) (((x)+(a)-1UL)&~((a)-1UL))
|
||||
#define UNW_ALIGN(x,a) (((size_t)(x) + (size_t)(a) - 1) & ~((size_t)(a) - 1))
|
||||
|
||||
#endif /* libunwind_i_h */
|
||||
|
||||
Reference in New Issue
Block a user