From 22553a7edbf129a99d8507702e6c194c2e794ff6 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Tue, 19 Nov 2019 18:27:42 -0800 Subject: [PATCH] kernel: k_object key pointer should be void * These are not C strings, just pointers to kernel objects. Improves output when working with a debugger. Signed-off-by: Andrew Boie --- include/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel.h b/include/kernel.h index b4153ff5f9..9ea145afe8 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -168,7 +168,7 @@ enum k_objects { /* Table generated by gperf, these objects are retrieved via * z_object_find() */ struct _k_object { - char *name; + void *name; u8_t perms[CONFIG_MAX_THREAD_BYTES]; u8_t type; u8_t flags;