mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
Fix yellow in sim builds
Change-Id: Ibed5ca7a821a31128940d602ade75497c13631f5
This commit is contained in:
parent
8825b33052
commit
5dd9238004
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ static char* error_message;
|
||||||
static inline struct skin_element*
|
static inline struct skin_element*
|
||||||
get_child(OFFSETTYPE(struct skin_element**) children, int child)
|
get_child(OFFSETTYPE(struct skin_element**) children, int child)
|
||||||
{
|
{
|
||||||
if (children == NULL)
|
if ((void*)children == NULL) // Stupid type shenanigans
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
struct skin_element **kids = SKINOFFSETTOPTR(skin_buffer, children);
|
struct skin_element **kids = SKINOFFSETTOPTR(skin_buffer, children);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue