Remove minor warning in windows.
@@ -74,10 +74,9 @@ int metacall_initialize()
/* Initialize logs by default to stdout if none has been defined */
if (metacall_log_null_flag != 0 && log_size() == 0)
{
- struct metacall_log_stdio_type log_stdio =
- {
- stdout
- };
+ struct metacall_log_stdio_type log_stdio;
+
+ log_stdio.stream = stdout;
if (metacall_log(METACALL_LOG_STDIO, (void *)&log_stdio) != 0)
{
