Fix warnings: missing sentinel in function calls

When compiling with -Werror, GNUCash fails to build due to various error: missing sentinel in function call.
This patch resolves the issue by passing nullptr instead of C-style casting NULL.
This commit is contained in:
Gaming4JC
2020-09-06 00:50:54 -04:00
parent 98c8b23351
commit cca4524055
9 changed files with 21 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ concatenate_child_result_chars (GSList* data_from_children)
else
{
char* temp;
temp = g_strconcat (name, (gchar*) cr->data, NULL);
temp = g_strconcat (name, (gchar*) cr->data, nullptr);
g_free (name);
name = temp;
}