1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[renderer] cast

This commit is contained in:
Witold Filipczyk 2022-02-17 20:53:44 +01:00
parent 37bd8a43f1
commit 3f63e79cef

View File

@ -129,7 +129,7 @@ process_snippets(struct ecmascript_interpreter *interpreter,
struct string_list_item **current) struct string_list_item **current)
{ {
if (!*current) if (!*current)
*current = snippets->next; *current = (struct string_list_item *)snippets->next;
for (; *current != (struct string_list_item *) snippets; for (; *current != (struct string_list_item *) snippets;
(*current) = (*current)->next) { (*current) = (*current)->next) {
struct string *string = &(*current)->string; struct string *string = &(*current)->string;