From 22f596c45dd16c93d0fff3aefb46aec7a838492d Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Thu, 17 Feb 2022 21:21:50 +0100 Subject: [PATCH] [renderer] another cast --- src/document/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/renderer.c b/src/document/renderer.c index 5b702f271..07cdb5684 100644 --- a/src/document/renderer.c +++ b/src/document/renderer.c @@ -67,7 +67,7 @@ add_snippets(struct ecmascript_interpreter *interpreter, LIST_OF(struct string_list_item) *doc_snippets, LIST_OF(struct string_list_item) *queued_snippets) { - struct string_list_item *doc_current = doc_snippets->next; + struct string_list_item *doc_current = (struct string_list_item *)doc_snippets->next; #ifdef CONFIG_LEDS if (list_empty(*queued_snippets) && interpreter->vs->doc_view->session)