kernel: use uintptr_t for kobject data

This has to be wide enough to store a pointer.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-11-13 12:52:00 -08:00 committed by Andrew Boie
commit e48ed6a980
3 changed files with 4 additions and 4 deletions

View file

@ -172,7 +172,7 @@ struct _k_object {
u8_t perms[CONFIG_MAX_THREAD_BYTES];
u8_t type;
u8_t flags;
u32_t data;
uintptr_t data;
} __packed __aligned(4);
struct _k_object_assignment {