diff options
-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); |