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:
parent
a824821b86
commit
e48ed6a980
3 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue