Fix yellow in sim builds

Change-Id: Ibed5ca7a821a31128940d602ade75497c13631f5
This commit is contained in:
Solomon Peachy 2024-05-24 11:34:07 -04:00
parent 8825b33052
commit 5dd9238004

View file

@ -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);