Applied, thanks!
Flavio Cruz, le mar. 16 mai 2023 23:04:18 -0400, a ecrit:
> Mostly, we don't set the fields that do not exist and avoid type
> mismatching (like casting unsigned short to unsigned char for
> msgt_name).
>
> We also revamp type checking to compare mach_msg_type_t to uint64_t
> ins
Mostly, we don't set the fields that do not exist and avoid type
mismatching (like casting unsigned short to unsigned char for
msgt_name).
We also revamp type checking to compare mach_msg_type_t to uint64_t
instead of just uint32_t as we now use the whole structure.
---
global.h | 2 ++
utils.c