diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-05-24 11:34:07 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-05-24 11:34:43 -0400 |
commit | 5dd9238004b9a0e90067537b2c58fe4baebf88a6 (patch) | |
tree | 1750c6ed7e3cbf131480358400a5f63dbbcb270f /lib/skin_parser | |
parent | 8825b330529a1cc1a74bb0b4f6880fbdd4333b22 (diff) | |
download | rockbox-5dd9238004b9a0e90067537b2c58fe4baebf88a6.tar.gz rockbox-5dd9238004b9a0e90067537b2c58fe4baebf88a6.zip |
Fix yellow in sim builds
Change-Id: Ibed5ca7a821a31128940d602ade75497c13631f5
Diffstat (limited to 'lib/skin_parser')
-rw-r--r-- | lib/skin_parser/skin_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
43 | static inline struct skin_element* | 43 | static inline struct skin_element* |
44 | get_child(OFFSETTYPE(struct skin_element**) children, int child) | 44 | get_child(OFFSETTYPE(struct skin_element**) children, int child) |
45 | { | 45 | { |
46 | if (children == NULL) | 46 | if ((void*)children == NULL) // Stupid type shenanigans |
47 | return NULL; | 47 | return NULL; |
48 | 48 | ||
49 | struct skin_element **kids = SKINOFFSETTOPTR(skin_buffer, children); | 49 | struct skin_element **kids = SKINOFFSETTOPTR(skin_buffer, children); |