From 5dd9238004b9a0e90067537b2c58fe4baebf88a6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 24 May 2024 11:34:07 -0400 Subject: Fix yellow in sim builds Change-Id: Ibed5ca7a821a31128940d602ade75497c13631f5 --- lib/skin_parser/skin_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c index e1746023b3..77a21fd8e8 100644 --- a/lib/skin_parser/skin_debug.c +++ b/lib/skin_parser/skin_debug.c @@ -43,7 +43,7 @@ static char* error_message; static inline struct skin_element* get_child(OFFSETTYPE(struct skin_element**) children, int child) { - if (children == NULL) + if ((void*)children == NULL) // Stupid type shenanigans return NULL; struct skin_element **kids = SKINOFFSETTOPTR(skin_buffer, children); -- cgit v1.2.3