Commit 5830d8c8 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Small code cleanup to fix warning on compile

parent 2b0636d7
......@@ -237,7 +237,7 @@ static int writeFirewall(GList *ruleList, char *filename, char load)
// Check if we piping to iptables aswell
if (piptables_restore)
{
fprintf(piptables_restore, "%s", data);
fprintf(piptables_restore, "%s", (char *) data);
// Check for IO error
if (ferror(piptables_restore))
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment