Skip to content
Snippets Groups Projects
Commit 31d116b4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

A typecast to suppress GCC warning about loss of constiness

parent 6a1a33d1
Branches
Tags
No related merge requests found
Pipeline #8037 passed
...@@ -2933,7 +2933,7 @@ write_webgets(void) ...@@ -2933,7 +2933,7 @@ write_webgets(void)
} }
iniRemoveSection(&ini_file, "WebLists"); iniRemoveSection(&ini_file, "WebLists");
iniAppendSectionWithNamedStrings(&ini_file, "WebLists", settings.webgets, &ini_style); iniAppendSectionWithNamedStrings(&ini_file, "WebLists", (const named_string_t**)settings.webgets, &ini_style);
if ((inifile = fopen(inipath, "w")) != NULL) { if ((inifile = fopen(inipath, "w")) != NULL) {
iniWriteFile(inifile, ini_file); iniWriteFile(inifile, ini_file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment